Page MenuHomeHEPForge

No OneTemporary

This file is larger than 256 KB, so syntax highlighting was skipped.
Index: trunk/config.log
===================================================================
--- trunk/config.log (revision 859)
+++ trunk/config.log (revision 860)
@@ -1,1181 +1,1177 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by npstat configure 5.9.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure --disable-static --with-pic
## --------- ##
## Platform. ##
## --------- ##
hostname = dawn
uname -m = x86_64
uname -r = 5.15.0-52-generic
uname -s = Linux
uname -v = #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/igv/bin/
PATH: /home/igv/local/bin/
PATH: /usr/local/anaconda3/bin/
PATH: /usr/local/bin/
PATH: /usr/local/root/bin/
PATH: /usr/local/bin/
PATH: /bin/
PATH: /usr/bin/
PATH: /sbin/
PATH: /usr/sbin/
PATH: ./
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2816: looking for aux files: compile ltmain.sh config.guess config.sub missing install-sh
configure:2829: trying ./
configure:2858: ./compile found
configure:2858: ./ltmain.sh found
configure:2858: ./config.guess found
configure:2858: ./config.sub found
configure:2858: ./missing found
configure:2840: ./install-sh found
configure:2988: checking for a BSD-compatible install
configure:3061: result: /bin/install -c
configure:3072: checking whether build environment is sane
configure:3127: result: yes
configure:3286: checking for a race-free mkdir -p
configure:3330: result: /bin/mkdir -p
configure:3337: checking for gawk
configure:3372: result: no
configure:3337: checking for mawk
configure:3358: found /bin/mawk
configure:3369: result: mawk
configure:3380: checking whether make sets $(MAKE)
configure:3403: result: yes
configure:3433: checking whether make supports nested variables
configure:3451: result: yes
configure:3650: checking for pkg-config
configure:3673: found /bin/pkg-config
configure:3685: result: /bin/pkg-config
configure:3710: checking pkg-config is at least version 0.9.0
configure:3713: result: yes
configure:3723: checking for fftw3 >= 3.1.2 geners >= 1.3.0 kstest >= 2.0.0
configure:3730: $PKG_CONFIG --exists --print-errors "fftw3 >= 3.1.2 geners >= 1.3.0 kstest >= 2.0.0"
configure:3733: $? = 0
configure:3747: $PKG_CONFIG --exists --print-errors "fftw3 >= 3.1.2 geners >= 1.3.0 kstest >= 2.0.0"
configure:3750: $? = 0
configure:3808: result: yes
configure:3882: checking for g++
configure:3903: found /bin/g++
configure:3914: result: g++
configure:3941: checking for C++ compiler version
configure:3950: g++ --version >&5
g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3961: $? = 0
configure:3950: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
... rest of stderr output deleted ...
configure:3961: $? = 0
configure:3950: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3961: $? = 1
configure:3950: g++ -qversion >&5
g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:3961: $? = 1
configure:3981: checking whether the C++ compiler works
configure:4003: g++ -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
configure:4007: $? = 0
configure:4057: result: yes
configure:4060: checking for C++ compiler default output file name
configure:4062: result: a.out
configure:4068: checking for suffix of executables
configure:4075: g++ -o conftest -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
configure:4079: $? = 0
configure:4102: result:
configure:4124: checking whether we are cross compiling
configure:4132: g++ -o conftest -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
configure:4136: $? = 0
configure:4143: ./conftest
configure:4147: $? = 0
configure:4162: result: no
configure:4167: checking for suffix of object files
configure:4190: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
configure:4194: $? = 0
configure:4216: result: o
configure:4220: checking whether the compiler supports GNU C++
configure:4240: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
configure:4240: $? = 0
configure:4250: result: yes
configure:4261: checking whether g++ accepts -g
configure:4282: g++ -c -g conftest.cpp >&5
configure:4282: $? = 0
configure:4326: result: yes
configure:4346: checking for g++ option to enable C++11 features
configure:4361: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
conftest.cpp: In function 'int main(int, char**)':
conftest.cpp:134:8: error: unused variable 'a1' [-Werror=unused-variable]
134 | auto a1 = 6538;
| ^~
conftest.cpp:141:16: error: unused variable 'a4' [-Werror=unused-variable]
141 | decltype(a2) a4 = 34895.034;
| ^~
conftest.cpp:145:9: error: unused variable 'sa' [-Werror=unused-variable]
145 | short sa[cxx11test::get_val()] = { 0 };
| ^~
conftest.cpp:149:23: error: unused variable 'il' [-Werror=unused-variable]
149 | cxx11test::testinit il = { 4323, 435234.23544 };
| ^~
conftest.cpp:170:8: error: unused variable 'a' [-Werror=unused-variable]
170 | auto a = sum(1);
| ^
conftest.cpp:171:8: error: unused variable 'b' [-Werror=unused-variable]
171 | auto b = sum(1, 2);
| ^
conftest.cpp:172:8: error: unused variable 'c' [-Werror=unused-variable]
172 | auto c = sum(1.0, 2.0, 3.0);
| ^
conftest.cpp:177:25: error: empty parentheses were disambiguated as a function declaration [-Werror=vexing-parse]
177 | cxx11test::delegate d2();
| ^~
conftest.cpp:177:25: note: remove parentheses to default-initialize a variable
177 | cxx11test::delegate d2();
| ^~
| --
conftest.cpp:177:25: note: or replace parentheses with braces to value-initialize a variable
conftest.cpp:186:9: error: unused variable 'c' [-Werror=unused-variable]
186 | char *c = nullptr;
| ^
conftest.cpp:194:15: error: unused variable 'utf8' [-Werror=unused-variable]
194 | char const *utf8 = u8"UTF-8 string \u2500";
| ^~~~
conftest.cpp:195:19: error: unused variable 'utf16' [-Werror=unused-variable]
195 | char16_t const *utf16 = u"UTF-8 string \u2500";
| ^~~~~
conftest.cpp:196:19: error: unused variable 'utf32' [-Werror=unused-variable]
196 | char32_t const *utf32 = U"UTF-32 string \u2500";
| ^~~~~
cc1plus: all warnings being treated as errors
configure:4361: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "npstat"
| #define PACKAGE_TARNAME "npstat"
| #define PACKAGE_VERSION "5.9.0"
| #define PACKAGE_STRING "npstat 5.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "npstat"
| #define VERSION "5.9.0"
| /* end confdefs.h. */
|
| // Does the compiler advertise C++98 conformance?
| #if !defined __cplusplus || __cplusplus < 199711L
| # error "Compiler does not advertise C++98 conformance"
| #endif
|
| // These inclusions are to reject old compilers that
| // lack the unsuffixed header files.
| #include <cstdlib>
| #include <exception>
|
| // <cassert> and <cstring> are *not* freestanding headers in C++98.
| extern void assert (int);
| namespace std {
| extern int strcmp (const char *, const char *);
| }
|
| // Namespaces, exceptions, and templates were all added after "C++ 2.0".
| using std::exception;
| using std::strcmp;
|
| namespace {
|
| void test_exception_syntax()
| {
| try {
| throw "test";
| } catch (const char *s) {
| // Extra parentheses suppress a warning when building autoconf itself,
| // due to lint rules shared with more typical C programs.
| assert (!(strcmp) (s, "test"));
| }
| }
|
| template <typename T> struct test_template
| {
| T const val;
| explicit test_template(T t) : val(t) {}
| template <typename U> T add(U u) { return static_cast<T>(u) + val; }
| };
|
| } // anonymous namespace
|
|
| // Does the compiler advertise C++ 2011 conformance?
| #if !defined __cplusplus || __cplusplus < 201103L
| # error "Compiler does not advertise C++11 conformance"
| #endif
|
| namespace cxx11test
| {
| constexpr int get_val() { return 20; }
|
| struct testinit
| {
| int i;
| double d;
| };
|
| class delegate
| {
| public:
| delegate(int n) : n(n) {}
| delegate(): delegate(2354) {}
|
| virtual int getval() { return this->n; };
| protected:
| int n;
| };
|
| class overridden : public delegate
| {
| public:
| overridden(int n): delegate(n) {}
| virtual int getval() override final { return this->n * 2; }
| };
|
| class nocopy
| {
| public:
| nocopy(int i): i(i) {}
| nocopy() = default;
| nocopy(const nocopy&) = delete;
| nocopy & operator=(const nocopy&) = delete;
| private:
| int i;
| };
|
| // for testing lambda expressions
| template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
| {
| return f(v);
| }
|
| // for testing variadic templates and trailing return types
| template <typename V> auto sum(V first) -> V
| {
| return first;
| }
| template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
| {
| return first + sum(rest...);
| }
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| assert (argc);
| assert (! argv[0]);
| {
| test_exception_syntax ();
| test_template<double> tt (2.0);
| assert (tt.add (4) == 6.0);
| assert (true && !false);
| }
|
|
| {
| // Test auto and decltype
| auto a1 = 6538;
| auto a2 = 48573953.4;
| auto a3 = "String literal";
|
| int total = 0;
| for (auto i = a3; *i; ++i) { total += *i; }
|
| decltype(a2) a4 = 34895.034;
| }
| {
| // Test constexpr
| short sa[cxx11test::get_val()] = { 0 };
| }
| {
| // Test initializer lists
| cxx11test::testinit il = { 4323, 435234.23544 };
| }
| {
| // Test range-based for
| int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
| 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
| for (auto &x : array) { x += 23; }
| }
| {
| // Test lambda expressions
| using cxx11test::eval;
| assert (eval ([](int x) { return x*2; }, 21) == 42);
| double d = 2.0;
| assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
| assert (d == 5.0);
| assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
| assert (d == 5.0);
| }
| {
| // Test use of variadic templates
| using cxx11test::sum;
| auto a = sum(1);
| auto b = sum(1, 2);
| auto c = sum(1.0, 2.0, 3.0);
| }
| {
| // Test constructor delegation
| cxx11test::delegate d1;
| cxx11test::delegate d2();
| cxx11test::delegate d3(45);
| }
| {
| // Test override and final
| cxx11test::overridden o1(55464);
| }
| {
| // Test nullptr
| char *c = nullptr;
| }
| {
| // Test template brackets
| test_template<::test_template<int>> v(test_template<int>(12));
| }
| {
| // Unicode literals
| char const *utf8 = u8"UTF-8 string \u2500";
| char16_t const *utf16 = u"UTF-8 string \u2500";
| char32_t const *utf32 = U"UTF-32 string \u2500";
| }
|
| return ok;
| }
|
configure:4379: result: none needed
configure:4446: checking whether make supports the include directive
configure:4461: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4464: $? = 0
configure:4483: result: yes (GNU style)
configure:4509: checking dependency style of g++
configure:4621: result: gcc3
configure:4695: checking for g77
configure:4716: found /home/igv/bin/g77
configure:4727: result: g77
configure:4753: checking for Fortran 77 compiler version
configure:4762: g77 --version >&5
GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4773: $? = 0
configure:4762: g77 -v >&5
Using built-in specs.
COLLECT_GCC=g77
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
... rest of stderr output deleted ...
configure:4773: $? = 0
configure:4762: g77 -V >&5
g77: error: unrecognized command-line option '-V'
g77: fatal error: no input files
compilation terminated.
configure:4773: $? = 1
configure:4762: g77 -qversion >&5
g77: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g77: fatal error: no input files
compilation terminated.
configure:4773: $? = 1
configure:4782: checking whether the compiler supports GNU Fortran 77
configure:4796: g77 -c conftest.F >&5
configure:4796: $? = 0
configure:4806: result: yes
configure:4814: checking whether g77 accepts -g
configure:4826: g77 -c -g conftest.f >&5
configure:4826: $? = 0
configure:4835: result: yes
configure:4870: checking build system type
configure:4885: result: x86_64-pc-linux-gnu
configure:4905: checking host system type
configure:4919: result: x86_64-pc-linux-gnu
configure:4944: checking how to get verbose linking output from g77
configure:4955: g77 -c -g -O2 conftest.f >&5
configure:4955: $? = 0
configure:4974: g77 -o conftest -g -O2 -v conftest.f
Using built-in specs.
Target: x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
- /usr/lib/gcc/x86_64-linux-gnu/11/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -dumpbase-ext .f -mtune=generic -march=x86-64 -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/11/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/ccGbTZsV.s
+ /usr/lib/gcc/x86_64-linux-gnu/11/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -dumpbase-ext .f -mtune=generic -march=x86-64 -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/11/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/ccf7WtuT.s
GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) version 11.3.0 (x86_64-linux-gnu)
compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (Ubuntu 11.3.0-1ubuntu1~22.04) version 11.3.0 (x86_64-linux-gnu)
compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
- as -v --gdwarf-5 --64 -o /tmp/ccfLWicq.o /tmp/ccGbTZsV.s
+ as -v --gdwarf-5 --64 -o /tmp/ccv1ChHi.o /tmp/ccf7WtuT.s
GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38
Reading specs from /usr/lib/gcc/x86_64-linux-gnu/11/libgfortran.spec
rename spec lib to liborig
- /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccmyBKpD.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. /tmp/ccfLWicq.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
+ /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccv0i0mu.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. /tmp/ccv1ChHi.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
configure:5057: result: -v
configure:5059: checking for Fortran 77 libraries of g77
configure:5083: g77 -o conftest -g -O2 -v conftest.f
Using built-in specs.
Target: x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
- /usr/lib/gcc/x86_64-linux-gnu/11/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -dumpbase-ext .f -mtune=generic -march=x86-64 -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/11/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/ccpkDccm.s
+ /usr/lib/gcc/x86_64-linux-gnu/11/f951 conftest.f -ffixed-form -quiet -dumpbase conftest.f -dumpbase-ext .f -mtune=generic -march=x86-64 -g -O2 -version -fintrinsic-modules-path /usr/lib/gcc/x86_64-linux-gnu/11/finclude -fpre-include=/usr/include/finclude/math-vector-fortran.h -o /tmp/ccdGwaHu.s
GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04) version 11.3.0 (x86_64-linux-gnu)
compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran2008 (Ubuntu 11.3.0-1ubuntu1~22.04) version 11.3.0 (x86_64-linux-gnu)
compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
- as -v --gdwarf-5 --64 -o /tmp/ccyjcqvO.o /tmp/ccpkDccm.s
+ as -v --gdwarf-5 --64 -o /tmp/ccUWTSx0.o /tmp/ccdGwaHu.s
GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38
Reading specs from /usr/lib/gcc/x86_64-linux-gnu/11/libgfortran.spec
rename spec lib to liborig
- /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/cca3ioDR.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. /tmp/ccyjcqvO.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
+ /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdRpEUF.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o conftest /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. /tmp/ccUWTSx0.o -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o
configure:5299: result: -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lgfortran -lm -lquadmath
configure:5362: checking how to print strings
configure:5389: result: printf
configure:5472: checking for gcc
configure:5493: found /bin/gcc
configure:5504: result: gcc
configure:5857: checking for C compiler version
configure:5866: gcc --version >&5
gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:5877: $? = 0
configure:5866: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.3.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-xKiWfi/gcc-11-11.3.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
... rest of stderr output deleted ...
configure:5877: $? = 0
configure:5866: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:5877: $? = 1
configure:5866: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:5877: $? = 1
configure:5866: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:5877: $? = 1
configure:5881: checking whether the compiler supports GNU C
configure:5901: gcc -c conftest.c >&5
configure:5901: $? = 0
configure:5911: result: yes
configure:5922: checking whether gcc accepts -g
configure:5943: gcc -c -g conftest.c >&5
configure:5943: $? = 0
configure:5987: result: yes
configure:6007: checking for gcc option to enable C11 features
configure:6022: gcc -c -g -O2 conftest.c >&5
configure:6022: $? = 0
configure:6040: result: none needed
configure:6156: checking whether gcc understands -c and -o together
configure:6179: gcc -c conftest.c -o conftest2.o
configure:6182: $? = 0
configure:6179: gcc -c conftest.c -o conftest2.o
configure:6182: $? = 0
configure:6194: result: yes
configure:6213: checking dependency style of gcc
configure:6325: result: gcc3
configure:6340: checking for a sed that does not truncate output
configure:6410: result: /bin/sed
configure:6428: checking for grep that handles long lines and -e
configure:6492: result: /bin/grep
configure:6497: checking for egrep
configure:6565: result: /bin/grep -E
configure:6570: checking for fgrep
configure:6638: result: /bin/grep -F
configure:6674: checking for ld used by gcc
configure:6742: result: /bin/ld
configure:6749: checking if the linker (/bin/ld) is GNU ld
configure:6765: result: yes
configure:6777: checking for BSD- or MS-compatible name lister (nm)
configure:6832: result: /bin/nm -B
configure:6972: checking the name lister (/bin/nm -B) interface
configure:6980: gcc -c -g -O2 conftest.c >&5
configure:6983: /bin/nm -B "conftest.o"
configure:6986: output
0000000000000000 B some_variable
configure:6993: result: BSD nm
configure:6996: checking whether ln -s works
configure:7000: result: yes
configure:7008: checking the maximum length of command line arguments
configure:7140: result: 1572864
configure:7188: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:7229: result: func_convert_file_noop
configure:7236: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:7257: result: func_convert_file_noop
configure:7264: checking for /bin/ld option to reload object files
configure:7272: result: -r
configure:7351: checking for objdump
configure:7372: found /bin/objdump
configure:7383: result: objdump
configure:7415: checking how to recognize dependent libraries
configure:7616: result: pass_all
configure:7706: checking for dlltool
configure:7741: result: no
configure:7771: checking how to associate runtime and link libraries
configure:7799: result: printf %s\n
configure:7865: checking for ar
configure:7886: found /bin/ar
configure:7897: result: ar
configure:7934: checking for archiver @FILE support
configure:7952: gcc -c -g -O2 conftest.c >&5
configure:7952: $? = 0
configure:7956: ar cr libconftest.a @conftest.lst >&5
configure:7959: $? = 0
configure:7964: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:7967: $? = 1
configure:7979: result: @
configure:8042: checking for strip
configure:8063: found /bin/strip
configure:8074: result: strip
configure:8151: checking for ranlib
configure:8172: found /bin/ranlib
configure:8183: result: ranlib
configure:8285: checking command to parse /bin/nm -B output from gcc object
configure:8439: gcc -c -g -O2 conftest.c >&5
configure:8442: $? = 0
configure:8446: /bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
configure:8512: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:8515: $? = 0
configure:8553: result: ok
configure:8600: checking for sysroot
configure:8631: result: no
configure:8638: checking for a working dd
configure:8682: result: /bin/dd
configure:8686: checking how to truncate binary pipes
configure:8702: result: /bin/dd bs=4096 count=1
configure:8839: gcc -c -g -O2 conftest.c >&5
configure:8842: $? = 0
configure:9039: checking for mt
configure:9060: found /bin/mt
configure:9071: result: mt
configure:9094: checking if mt is a manifest tool
configure:9101: mt '-?'
configure:9109: result: no
configure:9839: checking for stdio.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for stdlib.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for string.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for inttypes.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for stdint.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for strings.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for sys/stat.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for sys/types.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9839: checking for unistd.h
configure:9839: gcc -c -g -O2 conftest.c >&5
configure:9839: $? = 0
configure:9839: result: yes
configure:9864: checking for dlfcn.h
configure:9864: gcc -c -g -O2 conftest.c >&5
configure:9864: $? = 0
configure:9864: result: yes
configure:10134: checking for objdir
configure:10150: result: .libs
configure:10414: checking if gcc supports -fno-rtti -fno-exceptions
configure:10433: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:10437: $? = 0
configure:10450: result: no
configure:10814: checking for gcc option to produce PIC
configure:10822: result: -fPIC -DPIC
configure:10830: checking if gcc PIC flag -fPIC -DPIC works
configure:10849: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:10853: $? = 0
configure:10866: result: yes
configure:10895: checking if gcc static flag -static works
configure:10924: result: yes
configure:10939: checking if gcc supports -c -o file.o
configure:10961: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:10965: $? = 0
configure:10987: result: yes
configure:10995: checking if gcc supports -c -o file.o
configure:11043: result: yes
configure:11076: checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:12346: result: yes
configure:12383: checking whether -lc should be explicitly linked in
configure:12392: gcc -c -g -O2 conftest.c >&5
configure:12395: $? = 0
configure:12410: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:12413: $? = 0
configure:12427: result: no
configure:12587: checking dynamic linker characteristics
configure:13169: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:13169: $? = 0
configure:13420: result: GNU/Linux ld.so
configure:13542: checking how to hardcode library paths into programs
configure:13567: result: immediate
configure:14119: checking whether stripping libraries is possible
configure:14124: result: yes
configure:14159: checking if libtool supports shared libraries
configure:14161: result: yes
configure:14164: checking whether to build shared libraries
configure:14189: result: yes
configure:14192: checking whether to build static libraries
configure:14196: result: no
configure:14219: checking how to run the C++ preprocessor
configure:14241: g++ -E conftest.cpp
configure:14241: $? = 0
configure:14256: g++ -E conftest.cpp
conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory
23 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:14256: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "npstat"
| #define PACKAGE_TARNAME "npstat"
| #define PACKAGE_VERSION "5.9.0"
| #define PACKAGE_STRING "npstat 5.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "npstat"
| #define VERSION "5.9.0"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:14283: result: g++ -E
configure:14297: g++ -E conftest.cpp
configure:14297: $? = 0
configure:14312: g++ -E conftest.cpp
conftest.cpp:23:10: fatal error: ac_nonexistent.h: No such file or directory
23 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:14312: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "npstat"
| #define PACKAGE_TARNAME "npstat"
| #define PACKAGE_VERSION "5.9.0"
| #define PACKAGE_STRING "npstat 5.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "npstat"
| #define VERSION "5.9.0"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:14477: checking for ld used by g++
configure:14545: result: /bin/ld -m elf_x86_64
configure:14552: checking if the linker (/bin/ld -m elf_x86_64) is GNU ld
configure:14568: result: yes
configure:14623: checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:15700: result: yes
configure:15736: g++ -c -std=c++11 -O3 -Wall -W -Werror conftest.cpp >&5
configure:15739: $? = 0
configure:16220: checking for g++ option to produce PIC
configure:16228: result: -fPIC -DPIC
configure:16236: checking if g++ PIC flag -fPIC -DPIC works
configure:16255: g++ -c -std=c++11 -O3 -Wall -W -Werror -fPIC -DPIC -DPIC conftest.cpp >&5
configure:16259: $? = 0
configure:16272: result: yes
configure:16295: checking if g++ static flag -static works
configure:16324: result: yes
configure:16336: checking if g++ supports -c -o file.o
configure:16358: g++ -c -std=c++11 -O3 -Wall -W -Werror -o out/conftest2.o conftest.cpp >&5
configure:16362: $? = 0
configure:16384: result: yes
configure:16389: checking if g++ supports -c -o file.o
configure:16437: result: yes
configure:16467: checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:16510: result: yes
configure:16652: checking dynamic linker characteristics
configure:17412: result: GNU/Linux ld.so
configure:17477: checking how to hardcode library paths into programs
configure:17502: result: immediate
configure:17643: checking if libtool supports shared libraries
configure:17645: result: yes
configure:17648: checking whether to build shared libraries
configure:17672: result: yes
configure:17675: checking whether to build static libraries
configure:17679: result: no
configure:18037: checking for g77 option to produce PIC
configure:18045: result: -fPIC
configure:18053: checking if g77 PIC flag -fPIC works
configure:18072: g77 -c -g -O2 -fPIC conftest.f >&5
configure:18076: $? = 0
configure:18089: result: yes
configure:18112: checking if g77 static flag -static works
configure:18141: result: yes
configure:18153: checking if g77 supports -c -o file.o
configure:18175: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:18179: $? = 0
configure:18201: result: yes
configure:18206: checking if g77 supports -c -o file.o
configure:18254: result: yes
configure:18284: checking whether the g77 linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:19503: result: yes
configure:19645: checking dynamic linker characteristics
configure:20399: result: GNU/Linux ld.so
configure:20464: checking how to hardcode library paths into programs
configure:20489: result: immediate
configure:20681: checking that generated files are newer than configure
configure:20687: result: done
configure:20714: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by npstat config.status 5.9.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on dawn
config.status:1138: creating Makefile
config.status:1138: creating npstat/nm/Makefile
config.status:1138: creating npstat/rng/Makefile
config.status:1138: creating npstat/stat/Makefile
config.status:1138: creating npstat/wrap/Makefile
config.status:1138: creating npstat/interfaces/Makefile
config.status:1138: creating npstat/emsunfold/Makefile
config.status:1138: creating npstat/Makefile
config.status:1138: creating examples/C++/Makefile
config.status:1138: creating npstat/swig/Makefile
config.status:1138: creating npstat.pc
config.status:1310: executing depfiles commands
config.status:1387: cd npstat/nm && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
-make: Nothing to be done for 'am--depfiles'.
config.status:1392: $? = 0
config.status:1387: cd npstat/rng && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
-make: Nothing to be done for 'am--depfiles'.
config.status:1392: $? = 0
config.status:1387: cd npstat/stat && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
-make: Nothing to be done for 'am--depfiles'.
config.status:1392: $? = 0
config.status:1387: cd examples/C++ && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
-make: Nothing to be done for 'am--depfiles'.
config.status:1392: $? = 0
config.status:1387: cd npstat/swig && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
make: Nothing to be done for 'am--depfiles'.
config.status:1392: $? = 0
config.status:1310: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-std=c++11 -O3 -Wall -W -Werror'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DEPS_CFLAGS_set=
ac_cv_env_DEPS_CFLAGS_value=
ac_cv_env_DEPS_LIBS_set=
ac_cv_env_DEPS_LIBS_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_f77_compiler_gnu=yes
ac_cv_f77_libs=' -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lgfortran -lm -lquadmath'
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/bin/pkg-config
ac_cv_path_install='/bin/install -c'
ac_cv_path_lt_DD=/bin/dd
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_F77=g77
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_11=no
ac_cv_prog_cxx_g=yes
ac_cv_prog_cxx_stdcxx=
ac_cv_prog_f77_g=yes
ac_cv_prog_f77_v=-v
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/bin/ld
lt_cv_path_LDCXX='/bin/ld -m elf_x86_64'
lt_cv_path_NM='/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_F77=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_F77=-fPIC
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_pic_works_F77=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_compiler_static_works_F77=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
pkg_cv_DEPS_CFLAGS=-I/usr/local/include
pkg_cv_DEPS_LIBS='-L/usr/local/lib -lfftw3 -lgeners -lkstest'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/igv/Hepforge/npstat/trunk/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/igv/Hepforge/npstat/trunk/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/igv/Hepforge/npstat/trunk/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/igv/Hepforge/npstat/trunk/missing'\'' automake-1.16'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-std=c++11 -O3 -Wall -W -Werror'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"npstat\" -DPACKAGE_TARNAME=\"npstat\" -DPACKAGE_VERSION=\"5.9.0\" -DPACKAGE_STRING=\"npstat\ 5.9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"npstat\" -DVERSION=\"5.9.0\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"'
DEPDIR='.deps'
DEPS_CFLAGS='-I/usr/local/include'
DEPS_LIBS='-L/usr/local/lib -lfftw3 -lgeners -lkstest'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ETAGS='etags'
EXEEXT=''
F77='g77'
FFLAGS='-g -O2'
FGREP='/bin/grep -F'
FLIBS=' -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. -lgfortran -lm -lquadmath'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/bin/ld -m elf_x86_64'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} '\''/home/igv/Hepforge/npstat/trunk/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/bin/mkdir -p'
NM='/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='npstat'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='npstat'
PACKAGE_STRING='npstat 5.9.0'
PACKAGE_TARNAME='npstat'
PACKAGE_URL=''
PACKAGE_VERSION='5.9.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/local/lib/pkgconfig'
RANLIB='ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='5.9.0'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
ac_ct_F77='g77'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/igv/Hepforge/npstat/trunk/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "npstat"
#define PACKAGE_TARNAME "npstat"
#define PACKAGE_VERSION "5.9.0"
#define PACKAGE_STRING "npstat 5.9.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "npstat"
#define VERSION "5.9.0"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
configure: exit 0
Index: trunk/autom4te.cache/requests
===================================================================
--- trunk/autom4te.cache/requests (revision 859)
+++ trunk/autom4te.cache/requests (revision 860)
@@ -1,473 +1,473 @@
# This file was generated by Autom4te 2.71.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/m4sugar/m4sugar.m4',
'/usr/share/autoconf/m4sugar/m4sh.m4',
'/usr/share/autoconf/autoconf/autoconf.m4',
'aclocal.m4',
'/dev/null'
],
{
- 'AC_CONFIG_HEADERS' => 1,
- 'AC_SUBST_TRACE' => 1,
+ 'AC_FC_PP_DEFINE' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'AC_FC_PP_SRCEXT' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AC_CANONICAL_HOST' => 1,
+ 'AC_INIT' => 1,
+ 'AC_CONFIG_LINKS' => 1,
+ 'AC_CANONICAL_BUILD' => 1,
'AC_CONFIG_SUBDIRS' => 1,
+ 'include' => 1,
+ 'AM_MAKEFILE_INCLUDE' => 1,
'_AM_SUBST_NOTMAKE' => 1,
- 'AM_XGETTEXT_OPTION' => 1,
- 'AM_PROG_MOC' => 1,
+ 'AC_CANONICAL_SYSTEM' => 1,
+ 'AC_LIBSOURCE' => 1,
+ 'm4_sinclude' => 1,
+ '_AM_MAKEFILE_INCLUDE' => 1,
+ 'AC_SUBST' => 1,
'_AM_COND_IF' => 1,
- 'AC_CONFIG_LINKS' => 1,
'AM_ENABLE_MULTILIB' => 1,
- '_AM_MAKEFILE_INCLUDE' => 1,
- '_AM_COND_ELSE' => 1,
- 'AM_NLS' => 1,
- 'sinclude' => 1,
- 'AC_FC_SRCEXT' => 1,
- 'AM_CONDITIONAL' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_PROG_LIBTOOL' => 1,
- 'AM_MAINTAINER_MODE' => 1,
- 'LT_SUPPORTED_TAG' => 1,
- 'm4_include' => 1,
- 'AC_LIBSOURCE' => 1,
- 'AC_CANONICAL_BUILD' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_DEFINE_TRACE_LITERAL' => 1,
- 'AC_FC_PP_DEFINE' => 1,
- 'AU_DEFINE' => 1,
- 'AM_PROG_MKDIR_P' => 1,
- 'AH_OUTPUT' => 1,
- 'include' => 1,
+ 'm4_pattern_forbid' => 1,
+ 'AM_PROG_CXX_C_O' => 1,
'AC_CONFIG_AUX_DIR' => 1,
+ 'AM_GNU_GETTEXT' => 1,
+ 'AC_DEFINE_TRACE_LITERAL' => 1,
+ 'AM_PROG_MOC' => 1,
+ 'IT_PROG_INTLTOOL' => 1,
+ 'AC_FC_SRCEXT' => 1,
+ 'LT_INIT' => 1,
'AM_PROG_CC_C_O' => 1,
- '_m4_warn' => 1,
- 'AM_PATH_GUILE' => 1,
+ 'm4_include' => 1,
+ 'define' => 1,
+ 'AC_REQUIRE_AUX_FILE' => 1,
'_AM_COND_ENDIF' => 1,
- 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'AM_NLS' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'AM_XGETTEXT_OPTION' => 1,
'AC_CONFIG_FILES' => 1,
- 'm4_pattern_forbid' => 1,
- 'AM_PROG_CXX_C_O' => 1,
- 'AM_POT_TOOLS' => 1,
- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
- 'AC_CANONICAL_SYSTEM' => 1,
- 'AC_SUBST' => 1,
+ '_AM_COND_ELSE' => 1,
'm4_define' => 1,
- 'IT_PROG_INTLTOOL' => 1,
- 'AM_SILENT_RULES' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'LT_INIT' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'AC_INIT' => 1,
- 'AM_MAKEFILE_INCLUDE' => 1,
+ 'LT_SUPPORTED_TAG' => 1,
'AM_PROG_F77_C_O' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'AM_MAINTAINER_MODE' => 1,
+ 'AM_PROG_FC_C_O' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'AU_DEFINE' => 1,
'AC_FC_FREEFORM' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
+ 'GTK_DOC_CHECK' => 1,
'AC_CANONICAL_TARGET' => 1,
- 'm4_sinclude' => 1,
- 'AC_CANONICAL_HOST' => 1,
- 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_FC_PP_SRCEXT' => 1,
+ 'AM_CONDITIONAL' => 1,
+ '_m4_warn' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
- 'define' => 1,
- 'AC_REQUIRE_AUX_FILE' => 1,
- 'GTK_DOC_CHECK' => 1,
- 'AM_GNU_GETTEXT' => 1,
+ 'AC_CONFIG_HEADERS' => 1,
'AM_PROG_AR' => 1,
- 'AM_PROG_FC_C_O' => 1
+ 'AH_OUTPUT' => 1,
+ 'm4_pattern_allow' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AM_POT_TOOLS' => 1,
+ 'AC_SUBST_TRACE' => 1,
+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AM_PATH_GUILE' => 1,
+ 'sinclude' => 1
}
], 'Autom4te::Request' ),
bless( [
'1',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'/usr/share/aclocal-1.16/internal/ac-config-macro-dirs.m4',
'/usr/share/aclocal/ltargz.m4',
'/usr/share/aclocal/ltdl.m4',
'/usr/share/aclocal/pkg.m4',
'/usr/share/aclocal-1.16/amversion.m4',
'/usr/share/aclocal-1.16/auxdir.m4',
'/usr/share/aclocal-1.16/cond.m4',
'/usr/share/aclocal-1.16/depend.m4',
'/usr/share/aclocal-1.16/depout.m4',
'/usr/share/aclocal-1.16/extra-recurs.m4',
'/usr/share/aclocal-1.16/init.m4',
'/usr/share/aclocal-1.16/install-sh.m4',
'/usr/share/aclocal-1.16/lead-dot.m4',
'/usr/share/aclocal-1.16/make.m4',
'/usr/share/aclocal-1.16/missing.m4',
'/usr/share/aclocal-1.16/options.m4',
'/usr/share/aclocal-1.16/prog-cc-c-o.m4',
'/usr/share/aclocal-1.16/runlog.m4',
'/usr/share/aclocal-1.16/sanity.m4',
'/usr/share/aclocal-1.16/silent.m4',
'/usr/share/aclocal-1.16/strip.m4',
'/usr/share/aclocal-1.16/substnot.m4',
'/usr/share/aclocal-1.16/tar.m4',
'm4/libtool.m4',
'm4/ltoptions.m4',
'm4/ltsugar.m4',
'm4/ltversion.m4',
'm4/lt~obsolete.m4',
'configure.ac'
],
{
- 'LT_SYS_DLOPEN_SELF' => 1,
- 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
- 'AM_SET_DEPDIR' => 1,
- 'PKG_CHECK_MODULES_STATIC' => 1,
- '_AM_PROG_TAR' => 1,
- '_LT_AC_SYS_COMPILER' => 1,
- 'AM_MISSING_PROG' => 1,
- 'AM_CONDITIONAL' => 1,
- 'AC_LTDL_SYSSEARCHPATH' => 1,
- 'm4_pattern_allow' => 1,
- 'AC_CHECK_LIBM' => 1,
+ 'AC_LIBTOOL_COMPILER_OPTION' => 1,
+ '_LT_AC_SHELL_INIT' => 1,
'AC_DEFUN_ONCE' => 1,
- '_LT_CC_BASENAME' => 1,
- 'AC_PATH_TOOL_PREFIX' => 1,
- 'LT_PATH_LD' => 1,
- '_LT_DLL_DEF_P' => 1,
- 'LT_FUNC_DLSYM_USCORE' => 1,
+ 'LT_FUNC_ARGZ' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AC_LTDL_ENABLE_INSTALL' => 1,
+ 'AC_DEFUN' => 1,
+ '_LT_AC_LANG_CXX' => 1,
+ 'LT_SYS_SYMBOL_USCORE' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ '_LT_AC_TRY_DLOPEN_SELF' => 1,
+ 'AC_LIBTOOL_GCJ' => 1,
+ 'LTOPTIONS_VERSION' => 1,
'AC_LIBTOOL_OBJDIR' => 1,
+ '_LT_AC_LOCK' => 1,
+ 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
+ 'AM_SANITY_CHECK' => 1,
+ '_AM_IF_OPTION' => 1,
+ 'AM_CONDITIONAL' => 1,
+ '_LT_COMPILER_BOILERPLATE' => 1,
+ 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
+ '_LT_LIBOBJ' => 1,
+ 'LT_AC_PROG_RC' => 1,
+ 'AU_DEFUN' => 1,
+ '_LT_PROG_CXX' => 1,
+ 'AC_PATH_TOOL_PREFIX' => 1,
+ 'AC_WITH_LTDL' => 1,
+ 'LT_AC_PROG_EGREP' => 1,
+ 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
'_LT_AC_LANG_GCJ_CONFIG' => 1,
- 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
- 'LT_LIB_M' => 1,
- 'AC_LIBTOOL_COMPILER_OPTION' => 1,
- 'AM_RUN_LOG' => 1,
- 'LTVERSION_VERSION' => 1,
- '_AM_MANGLE_OPTION' => 1,
+ 'AM_PROG_LD' => 1,
+ 'AM_MISSING_HAS_RUN' => 1,
+ 'AM_PROG_INSTALL_SH' => 1,
'm4_pattern_forbid' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'PKG_CHECK_VAR' => 1,
- 'AC_LIBTOOL_PICMODE' => 1,
- 'AC_LTDL_SHLIBPATH' => 1,
- 'LTOPTIONS_VERSION' => 1,
- '_LT_COMPILER_OPTION' => 1,
+ 'AC_LIBTOOL_F77' => 1,
+ 'AC_LIBTOOL_FC' => 1,
+ 'PKG_CHECK_MODULES' => 1,
+ 'AC_PROG_EGREP' => 1,
+ '_LT_PATH_TOOL_PREFIX' => 1,
+ 'AC_LIBTOOL_DLOPEN_SELF' => 1,
+ 'AC_LIBTOOL_CXX' => 1,
'AM_DISABLE_SHARED' => 1,
- 'PKG_INSTALLDIR' => 1,
- '_LT_AC_TRY_DLOPEN_SELF' => 1,
- '_AM_SET_OPTION' => 1,
+ 'AC_LIB_LTDL' => 1,
+ '_LTDL_SETUP' => 1,
+ '_AM_DEPENDENCIES' => 1,
+ 'LTDL_INSTALLABLE' => 1,
+ 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
+ 'AM_PROG_INSTALL_STRIP' => 1,
+ 'LT_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
'AC_PROG_NM' => 1,
- '_LT_AC_LANG_F77_CONFIG' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'AC_LTDL_OBJDIR' => 1,
- 'AC_WITH_LTDL' => 1,
- 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
- 'LT_AC_PROG_SED' => 1,
- 'LTSUGAR_VERSION' => 1,
- '_LT_AC_LANG_RC_CONFIG' => 1,
- '_AC_AM_CONFIG_HEADER_HOOK' => 1,
- 'AC_LIBTOOL_RC' => 1,
- 'AM_ENABLE_SHARED' => 1,
- 'LT_WITH_LTDL' => 1,
- 'AC_CONFIG_MACRO_DIR' => 1,
- 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- '_AM_IF_OPTION' => 1,
- 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
- 'AM_PROG_NM' => 1,
- 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
- 'AC_LIBLTDL_INSTALLABLE' => 1,
- '_AM_SET_OPTIONS' => 1,
- '_LT_PROG_CXX' => 1,
+ '_AM_PROG_CC_C_O' => 1,
+ 'AC_LTDL_DLSYM_USCORE' => 1,
+ 'AC_CHECK_LIBM' => 1,
+ '_m4_warn' => 1,
+ '_AM_CONFIG_MACRO_DIRS' => 1,
+ 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
+ '_LT_AC_LANG_CXX_CONFIG' => 1,
+ 'AC_ENABLE_FAST_INSTALL' => 1,
+ 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
+ '_LT_AC_CHECK_DLFCN' => 1,
+ 'LT_LANG' => 1,
+ '_LT_AC_PROG_CXXCPP' => 1,
+ 'AC_LIBTOOL_DLOPEN' => 1,
+ 'LT_PATH_NM' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1,
'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1,
+ 'AC_LTDL_OBJDIR' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AC_ENABLE_STATIC' => 1,
+ 'AM_RUN_LOG' => 1,
'LT_SUPPORTED_TAG' => 1,
- 'AC_DISABLE_SHARED' => 1,
+ 'LTVERSION_VERSION' => 1,
+ 'LT_SYS_MODULE_PATH' => 1,
+ '_LT_PROG_FC' => 1,
+ 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
+ 'PKG_CHECK_EXISTS' => 1,
+ 'AC_DISABLE_STATIC' => 1,
+ '_AM_AUTOCONF_VERSION' => 1,
+ '_AC_PROG_LIBTOOL' => 1,
+ 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1,
+ 'AC_LIBTOOL_PROG_CC_C_O' => 1,
+ 'PKG_INSTALLDIR' => 1,
+ 'AM_ENABLE_SHARED' => 1,
'_LT_AC_LANG_GCJ' => 1,
- 'AC_ENABLE_SHARED' => 1,
- '_LT_COMPILER_BOILERPLATE' => 1,
- 'm4_include' => 1,
- 'LT_PROG_GCJ' => 1,
- '_LT_LIBOBJ' => 1,
- 'PKG_NOARCH_INSTALLDIR' => 1,
- '_LT_REQUIRED_DARWIN_CHECKS' => 1,
- '_LT_WITH_SYSROOT' => 1,
- 'AM_SILENT_RULES' => 1,
- 'LT_LIB_DLLOAD' => 1,
- '_AM_CONFIG_MACRO_DIRS' => 1,
- 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
- '_LT_AC_CHECK_DLFCN' => 1,
- '_LT_AC_TAGVAR' => 1,
- '_AM_DEPENDENCIES' => 1,
- 'AC_LIB_LTDL' => 1,
+ 'AC_PROG_LD_GNU' => 1,
+ 'AC_LIBTOOL_PICMODE' => 1,
+ 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
- 'LT_PROG_GO' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1,
- 'LT_FUNC_ARGZ' => 1,
- 'AC_LTDL_ENABLE_INSTALL' => 1,
- 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
- '_LT_PATH_TOOL_PREFIX' => 1,
- 'AM_AUX_DIR_EXPAND' => 1,
- 'AC_DEPLIBS_CHECK_METHOD' => 1,
- 'LT_SYS_DLSEARCH_PATH' => 1,
- 'LT_AC_PROG_GCJ' => 1,
- '_LT_AC_LANG_F77' => 1,
- 'AU_DEFUN' => 1,
- '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
+ 'AC_LTDL_PREOPEN' => 1,
+ 'AC_PROG_LD' => 1,
'AM_SUBST_NOTMAKE' => 1,
- 'LTDL_INIT' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
+ 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+ 'LT_SYS_DLSEARCH_PATH' => 1,
+ 'PKG_CHECK_VAR' => 1,
+ '_LT_AC_SYS_LIBPATH_AIX' => 1,
+ 'AC_LTDL_SYMBOL_USCORE' => 1,
+ 'm4_pattern_allow' => 1,
+ 'LTSUGAR_VERSION' => 1,
'_LT_PROG_F77' => 1,
- 'AM_PROG_INSTALL_SH' => 1,
- 'AC_PROG_LD_GNU' => 1,
- 'AM_DEP_TRACK' => 1,
- 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1,
- 'AC_LTDL_PREOPEN' => 1,
- '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
- 'LT_PROG_RC' => 1,
- '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- '_LT_AC_PROG_CXXCPP' => 1,
- 'AC_LIBTOOL_F77' => 1,
+ '_LT_AC_LANG_RC_CONFIG' => 1,
'LTDL_CONVENIENCE' => 1,
- 'AC_LIBTOOL_FC' => 1,
- 'AC_LIBTOOL_DLOPEN_SELF' => 1,
- '_LT_LINKER_BOILERPLATE' => 1,
+ 'AC_LTDL_SHLIBEXT' => 1,
+ 'PKG_PROG_PKG_CONFIG' => 1,
+ 'AC_LTDL_DLLIB' => 1,
+ 'AC_PATH_MAGIC' => 1,
+ 'LT_CMD_MAX_LEN' => 1,
+ '_AM_PROG_TAR' => 1,
+ '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
+ '_LT_AC_LANG_F77_CONFIG' => 1,
+ 'AC_DISABLE_FAST_INSTALL' => 1,
+ 'AM_SET_LEADING_DOT' => 1,
+ 'LT_PATH_LD' => 1,
+ 'AC_DISABLE_SHARED' => 1,
+ '_AC_AM_CONFIG_HEADER_HOOK' => 1,
+ 'LT_FUNC_DLSYM_USCORE' => 1,
+ '_LT_COMPILER_OPTION' => 1,
+ 'AC_DEPLIBS_CHECK_METHOD' => 1,
+ 'PKG_NOARCH_INSTALLDIR' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'm4_include' => 1,
+ 'LT_INIT' => 1,
+ '_LT_REQUIRED_DARWIN_CHECKS' => 1,
'_LT_PROG_LTMAIN' => 1,
+ '_LT_PREPARE_SED_QUOTE_VARS' => 1,
+ 'LT_AC_PROG_GCJ' => 1,
+ 'LT_SYS_MODULE_EXT' => 1,
+ '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
'LTOBSOLETE_VERSION' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ '_LT_PROG_ECHO_BACKSLASH' => 1,
+ '_AM_SET_OPTION' => 1,
+ 'include' => 1,
+ 'AM_MISSING_PROG' => 1,
+ '_AM_MANGLE_OPTION' => 1,
+ '_LT_AC_FILE_LTDLL_C' => 1,
+ 'AC_LIBTOOL_SETUP' => 1,
'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_DISABLE_STATIC' => 1,
'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1,
- 'LT_SYS_SYMBOL_USCORE' => 1,
- '_LT_AC_SHELL_INIT' => 1,
- 'AC_LIBTOOL_WIN32_DLL' => 1,
- '_AM_PROG_CC_C_O' => 1,
- 'AC_ENABLE_STATIC' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'LT_SYS_MODULE_PATH' => 1,
- 'LT_INIT' => 1,
- 'AC_LTDL_SYMBOL_USCORE' => 1,
- '_LT_AC_LOCK' => 1,
'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1,
- 'AC_LTDL_DLLIB' => 1,
- 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1,
- 'AC_LIBTOOL_LANG_F77_CONFIG' => 1,
- 'AC_PROG_LD_RELOAD_FLAG' => 1,
- '_AM_AUTOCONF_VERSION' => 1,
- 'LT_LANG' => 1,
- 'AM_MAKE_INCLUDE' => 1,
- '_AC_PROG_LIBTOOL' => 1,
- 'AC_LIBTOOL_GCJ' => 1,
- 'AC_DEFUN' => 1,
- 'AC_LIBTOOL_DLOPEN' => 1,
- 'LT_SYS_DLOPEN_DEPLIBS' => 1,
- 'AC_PROG_EGREP' => 1,
- '_LT_AC_SYS_LIBPATH_AIX' => 1,
- '_LT_AC_LANG_CXX' => 1,
- 'LT_OUTPUT' => 1,
- '_LT_AC_LANG_C_CONFIG' => 1,
- 'AM_PROG_LD' => 1,
- 'AC_LIBTOOL_SETUP' => 1,
- 'AC_LIBTOOL_LINKER_OPTION' => 1,
- 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
- '_LT_PREPARE_SED_QUOTE_VARS' => 1,
- 'PKG_CHECK_EXISTS' => 1,
- 'AM_SET_LEADING_DOT' => 1,
- 'AM_SANITY_CHECK' => 1,
- 'AM_ENABLE_STATIC' => 1,
- 'LTDL_INSTALLABLE' => 1,
- 'AM_PROG_LIBTOOL' => 1,
- 'LT_AC_PROG_EGREP' => 1,
+ 'AC_LIBTOOL_RC' => 1,
'_LT_LINKER_OPTION' => 1,
- 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
- 'AC_LTDL_SHLIBEXT' => 1,
- 'AC_PROG_LD' => 1,
- 'AM_MISSING_HAS_RUN' => 1,
- '_LT_PROG_FC' => 1,
- '_LTDL_SETUP' => 1,
- 'include' => 1,
- '_m4_warn' => 1,
+ 'AM_SET_DEPDIR' => 1,
+ 'LT_LIB_M' => 1,
+ '_LT_CC_BASENAME' => 1,
+ 'AC_LIBTOOL_WIN32_DLL' => 1,
+ 'LT_WITH_LTDL' => 1,
+ 'AM_DISABLE_STATIC' => 1,
'AC_LIBLTDL_CONVENIENCE' => 1,
- 'AC_LIBTOOL_CXX' => 1,
- 'AC_DISABLE_FAST_INSTALL' => 1,
- 'AC_PATH_MAGIC' => 1,
- 'AC_LIBTOOL_LANG_C_CONFIG' => 1,
- 'AC_LIBTOOL_PROG_CC_C_O' => 1,
- 'AC_LTDL_DLSYM_USCORE' => 1,
- '_LT_AC_LANG_CXX_CONFIG' => 1,
+ '_LT_DLL_DEF_P' => 1,
+ 'AC_LIBTOOL_SYS_LIB_STRIP' => 1,
+ 'AC_ENABLE_SHARED' => 1,
'AC_LIBTOOL_CONFIG' => 1,
- 'PKG_CHECK_MODULES' => 1,
- 'LT_PATH_NM' => 1,
- 'AC_ENABLE_FAST_INSTALL' => 1,
- 'AM_DISABLE_STATIC' => 1,
- 'AM_PROG_INSTALL_STRIP' => 1,
- 'LT_AC_PROG_RC' => 1,
- 'LT_CMD_MAX_LEN' => 1,
- 'AC_LIBTOOL_POSTDEP_PREDEP' => 1,
- 'LT_SYS_MODULE_EXT' => 1,
- '_LT_PROG_ECHO_BACKSLASH' => 1,
- 'PKG_PROG_PKG_CONFIG' => 1,
- '_LT_AC_FILE_LTDLL_C' => 1
+ '_LT_LINKER_BOILERPLATE' => 1,
+ 'LT_AC_PROG_SED' => 1,
+ 'AC_LIBTOOL_LANG_RC_CONFIG' => 1,
+ '_AM_SET_OPTIONS' => 1,
+ 'AC_LTDL_SYSSEARCHPATH' => 1,
+ '_LT_AC_LANG_F77' => 1,
+ 'LT_OUTPUT' => 1,
+ 'LT_PROG_RC' => 1,
+ 'AC_LTDL_SHLIBPATH' => 1,
+ 'AM_AUX_DIR_EXPAND' => 1,
+ '_LT_AC_TAGVAR' => 1,
+ 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1,
+ 'LT_LIB_DLLOAD' => 1,
+ 'AC_PROG_LD_RELOAD_FLAG' => 1,
+ 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'AM_PROG_NM' => 1,
+ '_LT_AC_SYS_COMPILER' => 1,
+ 'AC_CONFIG_MACRO_DIR' => 1,
+ 'AC_LIBTOOL_LINKER_OPTION' => 1,
+ 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1,
+ 'AM_DEP_TRACK' => 1,
+ 'LT_SYS_DLOPEN_SELF' => 1,
+ 'PKG_CHECK_MODULES_STATIC' => 1,
+ 'AC_LIBLTDL_INSTALLABLE' => 1,
+ '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
+ 'AM_MAKE_INCLUDE' => 1,
+ 'AM_ENABLE_STATIC' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'LT_PROG_GO' => 1,
+ '_LT_AC_LANG_C_CONFIG' => 1,
+ '_LT_WITH_SYSROOT' => 1,
+ 'LTDL_INIT' => 1,
+ 'LT_PROG_GCJ' => 1
}
], 'Autom4te::Request' ),
bless( [
'2',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'configure.ac'
],
{
- 'LT_INIT' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'AM_SILENT_RULES' => 1,
- 'IT_PROG_INTLTOOL' => 1,
- 'AC_SUBST' => 1,
- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
- 'AC_CANONICAL_SYSTEM' => 1,
- 'AM_PROG_CXX_C_O' => 1,
- 'AM_POT_TOOLS' => 1,
- 'AC_FC_FREEFORM' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
- 'AM_PROG_F77_C_O' => 1,
- 'AM_MAKEFILE_INCLUDE' => 1,
- 'AC_INIT' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'AC_FC_PP_SRCEXT' => 1,
- 'AC_CONFIG_LIBOBJ_DIR' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
- 'AC_CANONICAL_HOST' => 1,
- 'AC_CANONICAL_TARGET' => 1,
- 'm4_sinclude' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
'AM_PROG_FC_C_O' => 1,
- 'AM_GNU_GETTEXT' => 1,
- 'AM_PROG_AR' => 1,
- 'GTK_DOC_CHECK' => 1,
- 'AC_REQUIRE_AUX_FILE' => 1,
- '_AM_COND_IF' => 1,
- 'AM_PROG_MOC' => 1,
- 'AC_CONFIG_LINKS' => 1,
+ 'AM_MAINTAINER_MODE' => 1,
+ 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'AC_CONFIG_FILES' => 1,
+ '_AM_COND_ELSE' => 1,
'AM_XGETTEXT_OPTION' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
- 'AC_CONFIG_SUBDIRS' => 1,
- 'AC_SUBST_TRACE' => 1,
- 'AC_CONFIG_HEADERS' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'AM_PROG_F77_C_O' => 1,
'LT_SUPPORTED_TAG' => 1,
- 'AM_MAINTAINER_MODE' => 1,
'AM_PROG_LIBTOOL' => 1,
+ 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+ 'AC_SUBST_TRACE' => 1,
+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+ 'sinclude' => 1,
+ 'AM_PATH_GUILE' => 1,
+ 'AM_SILENT_RULES' => 1,
'm4_pattern_allow' => 1,
+ 'AM_POT_TOOLS' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'AC_CONFIG_HEADERS' => 1,
+ 'AC_CONFIG_LIBOBJ_DIR' => 1,
+ 'AM_PROG_AR' => 1,
+ 'AH_OUTPUT' => 1,
+ 'GTK_DOC_CHECK' => 1,
+ 'AC_FC_FREEFORM' => 1,
+ '_m4_warn' => 1,
'AM_CONDITIONAL' => 1,
- 'AC_FC_SRCEXT' => 1,
- 'sinclude' => 1,
- 'AM_NLS' => 1,
- '_AM_COND_ELSE' => 1,
+ 'AC_CANONICAL_TARGET' => 1,
+ 'm4_sinclude' => 1,
+ 'AC_LIBSOURCE' => 1,
+ 'AC_CANONICAL_SYSTEM' => 1,
+ 'AM_MAKEFILE_INCLUDE' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
- 'AM_ENABLE_MULTILIB' => 1,
- 'AH_OUTPUT' => 1,
- 'AM_PROG_MKDIR_P' => 1,
- 'AC_FC_PP_DEFINE' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_DEFINE_TRACE_LITERAL' => 1,
+ 'AC_CONFIG_LINKS' => 1,
'AC_CANONICAL_BUILD' => 1,
- 'AC_LIBSOURCE' => 1,
- 'm4_include' => 1,
- 'm4_pattern_forbid' => 1,
- 'AC_CONFIG_FILES' => 1,
- 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
+ 'AC_INIT' => 1,
+ 'include' => 1,
+ 'AC_CONFIG_SUBDIRS' => 1,
+ 'AC_FC_PP_SRCEXT' => 1,
+ 'AM_AUTOMAKE_VERSION' => 1,
+ 'AC_CANONICAL_HOST' => 1,
+ 'LT_CONFIG_LTDL_DIR' => 1,
+ 'AC_FC_PP_DEFINE' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ 'AM_NLS' => 1,
'_AM_COND_ENDIF' => 1,
- 'AM_PATH_GUILE' => 1,
+ 'AC_REQUIRE_AUX_FILE' => 1,
+ 'LT_INIT' => 1,
'AM_PROG_CC_C_O' => 1,
- '_m4_warn' => 1,
+ 'm4_include' => 1,
+ 'AC_FC_SRCEXT' => 1,
+ 'IT_PROG_INTLTOOL' => 1,
+ 'AM_PROG_MOC' => 1,
+ 'AC_DEFINE_TRACE_LITERAL' => 1,
+ 'AM_ENABLE_MULTILIB' => 1,
+ '_AM_COND_IF' => 1,
+ 'AC_SUBST' => 1,
+ 'AM_GNU_GETTEXT' => 1,
'AC_CONFIG_AUX_DIR' => 1,
- 'include' => 1
+ 'AM_PROG_CXX_C_O' => 1,
+ 'm4_pattern_forbid' => 1
}
], 'Autom4te::Request' ),
bless( [
'3',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'aclocal.m4',
'/usr/share/autoconf/autoconf/trailer.m4',
'configure.ac'
],
{
- 'AM_MAKEFILE_INCLUDE' => 1,
- 'AM_PROG_F77_C_O' => 1,
- 'AC_FC_FREEFORM' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
+ 'AC_FC_PP_DEFINE' => 1,
'AM_AUTOMAKE_VERSION' => 1,
+ 'AC_CANONICAL_HOST' => 1,
+ 'AC_FC_PP_SRCEXT' => 1,
+ 'include' => 1,
+ 'AC_CONFIG_SUBDIRS' => 1,
+ 'AC_CANONICAL_BUILD' => 1,
+ 'AC_CONFIG_LINKS' => 1,
'AC_INIT' => 1,
- 'IT_PROG_INTLTOOL' => 1,
- 'AM_SILENT_RULES' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'LT_INIT' => 1,
- 'AM_PROG_CXX_C_O' => 1,
- 'AM_POT_TOOLS' => 1,
- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
+ '_AM_MAKEFILE_INCLUDE' => 1,
+ 'm4_sinclude' => 1,
+ 'AC_LIBSOURCE' => 1,
'AC_CANONICAL_SYSTEM' => 1,
- 'AC_SUBST' => 1,
- 'AC_REQUIRE_AUX_FILE' => 1,
- 'GTK_DOC_CHECK' => 1,
- 'AM_PROG_AR' => 1,
+ '_AM_SUBST_NOTMAKE' => 1,
+ 'AM_MAKEFILE_INCLUDE' => 1,
'AM_GNU_GETTEXT' => 1,
- 'AM_PROG_FC_C_O' => 1,
- 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_CONFIG_LIBOBJ_DIR' => 1,
- 'AC_FC_PP_SRCEXT' => 1,
- 'AC_CANONICAL_TARGET' => 1,
- 'm4_sinclude' => 1,
- 'AC_CANONICAL_HOST' => 1,
+ 'AM_PROG_CXX_C_O' => 1,
+ 'AC_CONFIG_AUX_DIR' => 1,
+ 'm4_pattern_forbid' => 1,
+ '_AM_COND_IF' => 1,
+ 'AM_ENABLE_MULTILIB' => 1,
+ 'AC_SUBST' => 1,
+ 'AC_DEFINE_TRACE_LITERAL' => 1,
+ 'LT_INIT' => 1,
+ 'AM_PROG_CC_C_O' => 1,
+ 'm4_include' => 1,
'AC_FC_SRCEXT' => 1,
- 'AM_CONDITIONAL' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_MAINTAINER_MODE' => 1,
- 'AM_PROG_LIBTOOL' => 1,
+ 'AM_PROG_MOC' => 1,
+ 'IT_PROG_INTLTOOL' => 1,
+ 'AM_NLS' => 1,
+ 'AC_PROG_LIBTOOL' => 1,
+ '_AM_COND_ENDIF' => 1,
+ 'AC_REQUIRE_AUX_FILE' => 1,
+ 'AM_PROG_MKDIR_P' => 1,
+ 'AM_PROG_F77_C_O' => 1,
'LT_SUPPORTED_TAG' => 1,
- 'AM_ENABLE_MULTILIB' => 1,
- '_AM_MAKEFILE_INCLUDE' => 1,
+ 'AC_CONFIG_FILES' => 1,
'_AM_COND_ELSE' => 1,
- 'AM_NLS' => 1,
- 'sinclude' => 1,
'AM_XGETTEXT_OPTION' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
- '_AM_COND_IF' => 1,
- 'AC_CONFIG_LINKS' => 1,
- 'AM_PROG_MOC' => 1,
- 'AC_CONFIG_HEADERS' => 1,
- 'AC_SUBST_TRACE' => 1,
- 'AC_CONFIG_SUBDIRS' => 1,
- '_AM_COND_ENDIF' => 1,
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
- 'AC_CONFIG_FILES' => 1,
- 'm4_pattern_forbid' => 1,
- 'include' => 1,
- 'AC_CONFIG_AUX_DIR' => 1,
+ '_LT_AC_TAGCONFIG' => 1,
+ 'AM_PROG_FC_C_O' => 1,
+ 'AM_MAINTAINER_MODE' => 1,
'_m4_warn' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'AM_PATH_GUILE' => 1,
- 'AC_FC_PP_DEFINE' => 1,
- 'AM_PROG_MKDIR_P' => 1,
+ 'AM_CONDITIONAL' => 1,
+ 'AC_CANONICAL_TARGET' => 1,
+ 'GTK_DOC_CHECK' => 1,
+ 'AC_FC_FREEFORM' => 1,
'AH_OUTPUT' => 1,
- 'm4_include' => 1,
- 'AC_LIBSOURCE' => 1,
- 'AC_CANONICAL_BUILD' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'AC_DEFINE_TRACE_LITERAL' => 1
+ 'AC_CONFIG_HEADERS' => 1,
+ 'AM_PROG_AR' => 1,
+ 'AC_CONFIG_LIBOBJ_DIR' => 1,
+ 'AM_POT_TOOLS' => 1,
+ 'AM_INIT_AUTOMAKE' => 1,
+ 'm4_pattern_allow' => 1,
+ 'sinclude' => 1,
+ 'AM_SILENT_RULES' => 1,
+ 'AM_PATH_GUILE' => 1,
+ 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
+ 'AM_PROG_LIBTOOL' => 1,
+ 'AC_SUBST_TRACE' => 1,
+ 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1
}
], 'Autom4te::Request' )
);
Index: trunk/npstat/swig/npstat_wrap.cc
===================================================================
--- trunk/npstat/swig/npstat_wrap.cc (revision 859)
+++ trunk/npstat/swig/npstat_wrap.cc (revision 860)
@@ -1151180,131391 +1151180,131335 @@
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongAbsNtuple_cutCycleOverRows__SWIG_21(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongAbsNtuple_cutCycleOverRows__SWIG_22(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LongAbsNtuple_cutCycleOverRows'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(npstat::NtRectangularCut< long > const &,npstat::NtNtupleFill< npstat::AbsNtuple< int > > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(npstat::NtRectangularCut< long > const &,npstat::NtNtupleFill< npstat::AbsNtuple< long > > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(npstat::NtRectangularCut< long > const &,npstat::NtNtupleFill< npstat::AbsNtuple< float > > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(npstat::NtRectangularCut< long > const &,npstat::NtNtupleFill< npstat::AbsNtuple< double > > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(npstat::NtRectangularCut< long > const &,npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< long > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::MultivariateSumAccumulator< long double > >(npstat::NtRectangularCut< long > const &,npstat::MultivariateSumAccumulator< long double > &) const\n"
" npstat::AbsNtuple< long >::cutCycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(npstat::NtRectangularCut< long > const &,npstat::MultivariateSumsqAccumulator< long double > &) const\n");
return 0;
}
SWIGINTERN PyObject *LongAbsNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsNtupleT_long_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_FloatAbsNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatAbsNtuple" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_title" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = (std::string *) &((npstat::AbsNtuple< float > const *)arg1)->title();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_setTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_setTitle", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_setTitle" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_setTitle" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
(arg1)->setTitle((char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_nColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_nColumns" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->nColumns();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::string *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_columnName", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnName" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_columnName" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::string *) &((npstat::AbsNtuple< float > const *)arg1)->columnName(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnNames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::string,std::allocator< std::string > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnNames" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = (std::vector< std::string,std::allocator< std::string > > *) &((npstat::AbsNtuple< float > const *)arg1)->columnNames();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
{
const unsigned long vsize = result->size();
resultobj = PyTuple_New(vsize);
if (resultobj)
{
bool ok = true;
for (unsigned long i=0; i<vsize && ok; ++i)
{
PyObject* copy = PyUnicode_FromString((*result)[i].c_str());
if (copy == NULL)
ok = false;
else
PyTuple_SET_ITEM(resultobj, i, copy);
}
if (!ok)
{
Py_DECREF(resultobj);
resultobj = NULL;
}
}
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_setColumnName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_setColumnName", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_setColumnName" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_setColumnName" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_setColumnName" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (bool)(arg1)->setColumnName(arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *swig_obj[2] ;
unsigned long result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_columnNumber", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnNumber" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnNumber" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->columnNumber((char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_validColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *swig_obj[2] ;
unsigned long result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_validColumn", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_validColumn" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_validColumn" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->validColumn((char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_nRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_length" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->length();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((float const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((float const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatAbsNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatAbsNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatAbsNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatAbsNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatAbsNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatAbsNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
float *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
float temp9 ;
float val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatAbsNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatAbsNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatAbsNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_float(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FloatAbsNtuple_fill" "', argument " "9"" of type '" "float""'");
}
temp9 = static_cast< float >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8,(float const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
float *arg9 = 0 ;
float *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
float temp9 ;
float val9 ;
int ecode9 = 0 ;
float temp10 ;
float val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatAbsNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatAbsNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatAbsNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_float(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FloatAbsNtuple_fill" "', argument " "9"" of type '" "float""'");
}
temp9 = static_cast< float >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_float(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "FloatAbsNtuple_fill" "', argument " "10"" of type '" "float""'");
}
temp10 = static_cast< float >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8,(float const &)*arg9,(float const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
float *arg9 = 0 ;
float *arg10 = 0 ;
float *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
float temp9 ;
float val9 ;
int ecode9 = 0 ;
float temp10 ;
float val10 ;
int ecode10 = 0 ;
float temp11 ;
float val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatAbsNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatAbsNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatAbsNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatAbsNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_float(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FloatAbsNtuple_fill" "', argument " "9"" of type '" "float""'");
}
temp9 = static_cast< float >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_float(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "FloatAbsNtuple_fill" "', argument " "10"" of type '" "float""'");
}
temp10 = static_cast< float >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_float(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "FloatAbsNtuple_fill" "', argument " "11"" of type '" "float""'");
}
temp11 = static_cast< float >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8,(float const &)*arg9,(float const &)*arg10,(float const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_FloatAbsNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_FloatAbsNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatAbsNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< float >::fill(float const *,unsigned long)\n"
" npstat::AbsNtuple< float >::fill(float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::AbsNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
float result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple___call__" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (float)((npstat::AbsNtuple< float > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
float result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_at" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (float)((npstat::AbsNtuple< float > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_element(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
npstat::Column *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
float result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_element", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_element" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_element" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_element" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_element" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
{
try {
result = (float)((npstat::AbsNtuple< float > const *)arg1)->element(arg2,(npstat::Column const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_elementAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
npstat::Column *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
float result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_elementAt", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_elementAt" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_elementAt" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_elementAt" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_elementAt" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
{
try {
result = (float)((npstat::AbsNtuple< float > const *)arg1)->elementAt(arg2,(npstat::Column const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
float *arg3 = (float *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_rowContents" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_rowContents" "', argument " "3"" of type '" "float *""'");
}
arg3 = reinterpret_cast< float * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
float *arg3 = (float *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnContents" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnContents" "', argument " "3"" of type '" "float *""'");
}
arg3 = reinterpret_cast< float * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatAbsNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_clear" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_row_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsNtuple< float >::row_iterator result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_row_begin", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_row_begin" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_row_begin" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->row_begin(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< float >::row_iterator(static_cast< const npstat::AbsNtuple< float >::row_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_float_t__row_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_row_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsNtuple< float >::row_iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_row_end" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->row_end();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< float >::row_iterator(static_cast< const npstat::AbsNtuple< float >::row_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_float_t__row_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_column_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsNtuple< float >::column_iterator result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_column_begin", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_column_begin" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_column_begin" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_column_begin" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->column_begin((npstat::Column const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< float >::column_iterator(static_cast< const npstat::AbsNtuple< float >::column_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_float_t__column_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_column_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsNtuple< float >::column_iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_column_end" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->column_end();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< float >::column_iterator(static_cast< const npstat::AbsNtuple< float >::column_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_float_t__column_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
npstat::Column *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
arg9 = reinterpret_cast< npstat::Column * >(argp9);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8,(npstat::Column const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
npstat::Column *arg9 = 0 ;
npstat::Column *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
arg9 = reinterpret_cast< npstat::Column * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
arg10 = reinterpret_cast< npstat::Column * >(argp10);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8,(npstat::Column const &)*arg9,(npstat::Column const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
npstat::Column *arg9 = 0 ;
npstat::Column *arg10 = 0 ;
npstat::Column *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
arg9 = reinterpret_cast< npstat::Column * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
arg10 = reinterpret_cast< npstat::Column * >(argp10);
res11 = SWIG_ConvertPtr(swig_obj[10], &argp11, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "11"" of type '" "npstat::Column const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_columnIndices" "', argument " "11"" of type '" "npstat::Column const &""'");
}
arg11 = reinterpret_cast< npstat::Column * >(argp11);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8,(npstat::Column const &)*arg9,(npstat::Column const &)*arg10,(npstat::Column const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
if (PySequence_Check(swig_obj[1]))
{
arg2 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[1]);
arg2->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[1], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg2->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg2;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->columnIndices((std::vector< std::string,std::allocator< std::string > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
{
delete arg2;
}
return resultobj;
fail:
{
delete arg2;
}
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnIndices(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_columnIndices", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = 0;
if (PySequence_Check(argv[1]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[1]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[1], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_10(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_3(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnIndices__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatAbsNtuple_columnIndices'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< float >::columnIndices(std::vector< std::string,std::allocator< std::string > > const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_classId" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
{
try {
result = ((npstat::AbsNtuple< float > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::AbsNtuple< float > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple___eq__" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple___eq__" "', argument " "2"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple___eq__" "', argument " "2"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp2);
{
try {
result = (bool)((npstat::AbsNtuple< float > const *)arg1)->operator ==((npstat::AbsNtuple< float > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::AbsNtuple< float > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple___ne__" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple___ne__" "', argument " "2"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple___ne__" "', argument " "2"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp2);
{
try {
result = (bool)((npstat::AbsNtuple< float > const *)arg1)->operator !=((npstat::AbsNtuple< float > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::AbsNtuple< float > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_append", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_append" "', argument " "1"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_append" "', argument " "2"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_append" "', argument " "2"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp2);
{
try {
(arg1)->append2((npstat::AbsNtuple< float > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnArray" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_columnArray" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (PyObject *)npstat_AbsNtuple_Sl_float_Sg__columnArray__SWIG_0((npstat::AbsNtuple< float > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_columnArray" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_columnArray" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (PyObject *)npstat_AbsNtuple_Sl_float_Sg__columnArray__SWIG_1((npstat::AbsNtuple< float > const *)arg1,(char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_columnArray(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_columnArray", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatAbsNtuple_columnArray__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_columnArray__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatAbsNtuple_columnArray'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< float >::columnArray(unsigned long) const\n"
" npstat::AbsNtuple< float >::columnArray(char const *) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_rowArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
PyObject *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_rowArray", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_rowArray" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatAbsNtuple_rowArray" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (PyObject *)npstat_AbsNtuple_Sl_float_Sg__rowArray((npstat::AbsNtuple< float > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< int > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< int > > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< long > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< long > > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< float > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< float > > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< double > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< double > > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::MultivariateSumAccumulator< long double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
arg2 = reinterpret_cast< npstat::MultivariateSumAccumulator< long double > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::MultivariateSumAccumulator< long double > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::MultivariateSumsqAccumulator< long double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
arg2 = reinterpret_cast< npstat::MultivariateSumsqAccumulator< long double > * >(argp2);
{
try {
((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cycleOverRows(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_cycleOverRows", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_3(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_4(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_5(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_6(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_7(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_9(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_10(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_11(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_12(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_13(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_14(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_15(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_16(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_17(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_18(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_19(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_20(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_21(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cycleOverRows__SWIG_22(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatAbsNtuple_cycleOverRows'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(npstat::NtNtupleFill< npstat::AbsNtuple< int > > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(npstat::NtNtupleFill< npstat::AbsNtuple< long > > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(npstat::NtNtupleFill< npstat::AbsNtuple< float > > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(npstat::NtNtupleFill< npstat::AbsNtuple< double > > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::MultivariateSumAccumulator< long double > >(npstat::MultivariateSumAccumulator< long double > &) const\n"
" npstat::AbsNtuple< float >::cycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(npstat::MultivariateSumsqAccumulator< long double > &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< int > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< int > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< long > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< long > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< float > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< float > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< double > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::MultivariateSumAccumulator< long double > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
arg3 = reinterpret_cast< npstat::MultivariateSumAccumulator< long double > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::MultivariateSumAccumulator< long double > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = (npstat::AbsNtuple< float > *) 0 ;
npstat::NtRectangularCut< float > *arg2 = 0 ;
npstat::MultivariateSumsqAccumulator< long double > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< float > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
arg3 = reinterpret_cast< npstat::MultivariateSumsqAccumulator< long double > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< float > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >((npstat::NtRectangularCut< float > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsNtuple_cutCycleOverRows(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatAbsNtuple_cutCycleOverRows", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_6(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_8(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_9(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_10(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_11(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_12(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_13(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_14(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_15(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_16(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_17(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_18(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_19(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_20(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_21(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatAbsNtuple_cutCycleOverRows__SWIG_22(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatAbsNtuple_cutCycleOverRows'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(npstat::NtRectangularCut< float > const &,npstat::NtNtupleFill< npstat::AbsNtuple< int > > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(npstat::NtRectangularCut< float > const &,npstat::NtNtupleFill< npstat::AbsNtuple< long > > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(npstat::NtRectangularCut< float > const &,npstat::NtNtupleFill< npstat::AbsNtuple< float > > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(npstat::NtRectangularCut< float > const &,npstat::NtNtupleFill< npstat::AbsNtuple< double > > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(npstat::NtRectangularCut< float > const &,npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< float > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::MultivariateSumAccumulator< long double > >(npstat::NtRectangularCut< float > const &,npstat::MultivariateSumAccumulator< long double > &) const\n"
" npstat::AbsNtuple< float >::cutCycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(npstat::NtRectangularCut< float > const &,npstat::MultivariateSumsqAccumulator< long double > &) const\n");
return 0;
}
SWIGINTERN PyObject *FloatAbsNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsNtupleT_float_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleAbsNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleAbsNtuple" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_title(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_title" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = (std::string *) &((npstat::AbsNtuple< double > const *)arg1)->title();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_setTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_setTitle", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_setTitle" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_setTitle" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
(arg1)->setTitle((char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_nColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_nColumns" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->nColumns();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::string *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_columnName", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnName" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_columnName" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::string *) &((npstat::AbsNtuple< double > const *)arg1)->columnName(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnNames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< std::string,std::allocator< std::string > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnNames" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = (std::vector< std::string,std::allocator< std::string > > *) &((npstat::AbsNtuple< double > const *)arg1)->columnNames();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
{
const unsigned long vsize = result->size();
resultobj = PyTuple_New(vsize);
if (resultobj)
{
bool ok = true;
for (unsigned long i=0; i<vsize && ok; ++i)
{
PyObject* copy = PyUnicode_FromString((*result)[i].c_str());
if (copy == NULL)
ok = false;
else
PyTuple_SET_ITEM(resultobj, i, copy);
}
if (!ok)
{
Py_DECREF(resultobj);
resultobj = NULL;
}
}
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_setColumnName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_setColumnName", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_setColumnName" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_setColumnName" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_setColumnName" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (bool)(arg1)->setColumnName(arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *swig_obj[2] ;
unsigned long result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_columnNumber", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnNumber" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnNumber" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->columnNumber((char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_validColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *swig_obj[2] ;
unsigned long result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_validColumn", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_validColumn" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_validColumn" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->validColumn((char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_nRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_length" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->length();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleAbsNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleAbsNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleAbsNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleAbsNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleAbsNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleAbsNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
double *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
double temp9 ;
double val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleAbsNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleAbsNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleAbsNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "DoubleAbsNtuple_fill" "', argument " "9"" of type '" "double""'");
}
temp9 = static_cast< double >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8,(double const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
double *arg9 = 0 ;
double *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
double temp9 ;
double val9 ;
int ecode9 = 0 ;
double temp10 ;
double val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleAbsNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleAbsNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleAbsNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "DoubleAbsNtuple_fill" "', argument " "9"" of type '" "double""'");
}
temp9 = static_cast< double >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "DoubleAbsNtuple_fill" "', argument " "10"" of type '" "double""'");
}
temp10 = static_cast< double >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8,(double const &)*arg9,(double const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
double *arg9 = 0 ;
double *arg10 = 0 ;
double *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
double temp9 ;
double val9 ;
int ecode9 = 0 ;
double temp10 ;
double val10 ;
int ecode10 = 0 ;
double temp11 ;
double val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_fill" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleAbsNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleAbsNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleAbsNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleAbsNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "DoubleAbsNtuple_fill" "', argument " "9"" of type '" "double""'");
}
temp9 = static_cast< double >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "DoubleAbsNtuple_fill" "', argument " "10"" of type '" "double""'");
}
temp10 = static_cast< double >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "DoubleAbsNtuple_fill" "', argument " "11"" of type '" "double""'");
}
temp11 = static_cast< double >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8,(double const &)*arg9,(double const &)*arg10,(double const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_DoubleAbsNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_DoubleAbsNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleAbsNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< double >::fill(double const *,unsigned long)\n"
" npstat::AbsNtuple< double >::fill(double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::AbsNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple___call__" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::AbsNtuple< double > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_at" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::AbsNtuple< double > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_element(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
npstat::Column *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_element", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_element" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_element" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_element" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_element" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
{
try {
result = (double)((npstat::AbsNtuple< double > const *)arg1)->element(arg2,(npstat::Column const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_elementAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
npstat::Column *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_elementAt", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_elementAt" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_elementAt" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_elementAt" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_elementAt" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
{
try {
result = (double)((npstat::AbsNtuple< double > const *)arg1)->elementAt(arg2,(npstat::Column const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_rowContents" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_rowContents" "', argument " "3"" of type '" "double *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnContents" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnContents" "', argument " "3"" of type '" "double *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleAbsNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_clear" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_row_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsNtuple< double >::row_iterator result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_row_begin", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_row_begin" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_row_begin" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->row_begin(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< double >::row_iterator(static_cast< const npstat::AbsNtuple< double >::row_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_double_t__row_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_row_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsNtuple< double >::row_iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_row_end" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->row_end();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< double >::row_iterator(static_cast< const npstat::AbsNtuple< double >::row_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_double_t__row_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_column_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsNtuple< double >::column_iterator result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_column_begin", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_column_begin" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_column_begin" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_column_begin" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->column_begin((npstat::Column const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< double >::column_iterator(static_cast< const npstat::AbsNtuple< double >::column_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_double_t__column_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_column_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsNtuple< double >::column_iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_column_end" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->column_end();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::AbsNtuple< double >::column_iterator(static_cast< const npstat::AbsNtuple< double >::column_iterator& >(result))), SWIGTYPE_p_npstat__AbsNtupleT_double_t__column_iterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
npstat::Column *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
arg9 = reinterpret_cast< npstat::Column * >(argp9);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8,(npstat::Column const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
npstat::Column *arg9 = 0 ;
npstat::Column *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
arg9 = reinterpret_cast< npstat::Column * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
arg10 = reinterpret_cast< npstat::Column * >(argp10);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8,(npstat::Column const &)*arg9,(npstat::Column const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
npstat::Column *arg3 = 0 ;
npstat::Column *arg4 = 0 ;
npstat::Column *arg5 = 0 ;
npstat::Column *arg6 = 0 ;
npstat::Column *arg7 = 0 ;
npstat::Column *arg8 = 0 ;
npstat::Column *arg9 = 0 ;
npstat::Column *arg10 = 0 ;
npstat::Column *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "3"" of type '" "npstat::Column const &""'");
}
arg3 = reinterpret_cast< npstat::Column * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "4"" of type '" "npstat::Column const &""'");
}
arg4 = reinterpret_cast< npstat::Column * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "5"" of type '" "npstat::Column const &""'");
}
arg5 = reinterpret_cast< npstat::Column * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "6"" of type '" "npstat::Column const &""'");
}
arg6 = reinterpret_cast< npstat::Column * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "7"" of type '" "npstat::Column const &""'");
}
arg7 = reinterpret_cast< npstat::Column * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "8"" of type '" "npstat::Column const &""'");
}
arg8 = reinterpret_cast< npstat::Column * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "9"" of type '" "npstat::Column const &""'");
}
arg9 = reinterpret_cast< npstat::Column * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "10"" of type '" "npstat::Column const &""'");
}
arg10 = reinterpret_cast< npstat::Column * >(argp10);
res11 = SWIG_ConvertPtr(swig_obj[10], &argp11, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "11"" of type '" "npstat::Column const &""'");
}
if (!argp11) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "11"" of type '" "npstat::Column const &""'");
}
arg11 = reinterpret_cast< npstat::Column * >(argp11);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((npstat::Column const &)*arg2,(npstat::Column const &)*arg3,(npstat::Column const &)*arg4,(npstat::Column const &)*arg5,(npstat::Column const &)*arg6,(npstat::Column const &)*arg7,(npstat::Column const &)*arg8,(npstat::Column const &)*arg9,(npstat::Column const &)*arg10,(npstat::Column const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnIndices" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
if (PySequence_Check(swig_obj[1]))
{
arg2 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[1]);
arg2->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[1], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg2->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg2;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->columnIndices((std::vector< std::string,std::allocator< std::string > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned long,std::allocator< unsigned long > > >(result));
{
delete arg2;
}
return resultobj;
fail:
{
delete arg2;
}
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnIndices(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_columnIndices", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = 0;
if (PySequence_Check(argv[1]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[1]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[1], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_10(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_3(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[10], 0, SWIGTYPE_p_npstat__Column, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnIndices__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleAbsNtuple_columnIndices'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &,npstat::Column const &) const\n"
" npstat::AbsNtuple< double >::columnIndices(std::vector< std::string,std::allocator< std::string > > const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_classId" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
{
try {
result = ((npstat::AbsNtuple< double > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::AbsNtuple< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple___eq__" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple___eq__" "', argument " "2"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple___eq__" "', argument " "2"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp2);
{
try {
result = (bool)((npstat::AbsNtuple< double > const *)arg1)->operator ==((npstat::AbsNtuple< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::AbsNtuple< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple___ne__" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple___ne__" "', argument " "2"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple___ne__" "', argument " "2"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp2);
{
try {
result = (bool)((npstat::AbsNtuple< double > const *)arg1)->operator !=((npstat::AbsNtuple< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::AbsNtuple< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_append", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_append" "', argument " "1"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_append" "', argument " "2"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_append" "', argument " "2"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp2);
{
try {
(arg1)->append2((npstat::AbsNtuple< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnArray__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnArray" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_columnArray" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (PyObject *)npstat_AbsNtuple_Sl_double_Sg__columnArray__SWIG_0((npstat::AbsNtuple< double > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnArray__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_columnArray" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_columnArray" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
{
try {
result = (PyObject *)npstat_AbsNtuple_Sl_double_Sg__columnArray__SWIG_1((npstat::AbsNtuple< double > const *)arg1,(char const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_columnArray(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_columnArray", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleAbsNtuple_columnArray__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_columnArray__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleAbsNtuple_columnArray'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< double >::columnArray(unsigned long) const\n"
" npstat::AbsNtuple< double >::columnArray(char const *) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_rowArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
PyObject *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_rowArray", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_rowArray" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleAbsNtuple_rowArray" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (PyObject *)npstat_AbsNtuple_Sl_double_Sg__rowArray((npstat::AbsNtuple< double > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< int > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< int > > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< long > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< long > > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< float > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< float > > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< double > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< double > > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
arg2 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
arg2 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::MultivariateSumAccumulator< long double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
arg2 = reinterpret_cast< npstat::MultivariateSumAccumulator< long double > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::MultivariateSumAccumulator< long double > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::MultivariateSumsqAccumulator< long double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cycleOverRows" "', argument " "2"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
arg2 = reinterpret_cast< npstat::MultivariateSumsqAccumulator< long double > * >(argp2);
{
try {
((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cycleOverRows(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_cycleOverRows", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_3(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_4(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_5(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_6(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_7(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_9(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_10(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_11(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_12(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_13(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_14(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_15(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_16(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_17(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_18(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_19(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_20(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_21(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cycleOverRows__SWIG_22(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleAbsNtuple_cycleOverRows'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(npstat::NtNtupleFill< npstat::AbsNtuple< int > > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(npstat::NtNtupleFill< npstat::AbsNtuple< long > > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(npstat::NtNtupleFill< npstat::AbsNtuple< float > > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(npstat::NtNtupleFill< npstat::AbsNtuple< double > > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::MultivariateSumAccumulator< long double > >(npstat::MultivariateSumAccumulator< long double > &) const\n"
" npstat::AbsNtuple< double >::cycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(npstat::MultivariateSumsqAccumulator< long double > &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< int > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< int > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< int > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< long > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< long > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< long > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< float > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< float > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< float > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< double > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< double > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< double > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &""'");
}
arg3 = reinterpret_cast< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &""'");
}
arg3 = reinterpret_cast< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::MultivariateSumAccumulator< long double > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumAccumulator< long double > &""'");
}
arg3 = reinterpret_cast< npstat::MultivariateSumAccumulator< long double > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::MultivariateSumAccumulator< long double > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = (npstat::AbsNtuple< double > *) 0 ;
npstat::NtRectangularCut< double > *arg2 = 0 ;
npstat::MultivariateSumsqAccumulator< long double > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "2"" of type '" "npstat::NtRectangularCut< double > const &""'");
}
arg2 = reinterpret_cast< npstat::NtRectangularCut< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsNtuple_cutCycleOverRows" "', argument " "3"" of type '" "npstat::MultivariateSumsqAccumulator< long double > &""'");
}
arg3 = reinterpret_cast< npstat::MultivariateSumsqAccumulator< long double > * >(argp3);
{
try {
result = (unsigned long)((npstat::AbsNtuple< double > const *)arg1)->SWIGTEMPLATEDISAMBIGUATOR cutCycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >((npstat::NtRectangularCut< double > const &)*arg2,*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsNtuple_cutCycleOverRows(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleAbsNtuple_cutCycleOverRows", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_int_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_long_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_float_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_double_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtNtupleFillT_npstat__AbsNtupleT_unsigned_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_6(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_8(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_9(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_10(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_11(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_12(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_13(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_14(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t_true_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_15(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_int_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_16(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_long_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_17(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_float_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_18(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_double_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_19(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__NtHistoFillT_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t_false_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_20(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MultivariateSumAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_21(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__NtRectangularCutT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MultivariateSumsqAccumulatorT_long_double_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleAbsNtuple_cutCycleOverRows__SWIG_22(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleAbsNtuple_cutCycleOverRows'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< int > > >(npstat::NtRectangularCut< double > const &,npstat::NtNtupleFill< npstat::AbsNtuple< int > > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< long > > >(npstat::NtRectangularCut< double > const &,npstat::NtNtupleFill< npstat::AbsNtuple< long > > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< float > > >(npstat::NtRectangularCut< double > const &,npstat::NtNtupleFill< npstat::AbsNtuple< float > > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< double > > >(npstat::NtRectangularCut< double > const &,npstat::NtNtupleFill< npstat::AbsNtuple< double > > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > >(npstat::NtRectangularCut< double > const &,npstat::NtNtupleFill< npstat::AbsNtuple< unsigned char > > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::HistoAxis >,true > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< int,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< long,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< float,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< double,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > >(npstat::NtRectangularCut< double > const &,npstat::NtHistoFill< npstat::HistoND< unsigned char,npstat::NUHistoAxis >,false > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::MultivariateSumAccumulator< long double > >(npstat::NtRectangularCut< double > const &,npstat::MultivariateSumAccumulator< long double > &) const\n"
" npstat::AbsNtuple< double >::cutCycleOverRows< npstat::MultivariateSumsqAccumulator< long double > >(npstat::NtRectangularCut< double > const &,npstat::MultivariateSumsqAccumulator< long double > &) const\n");
return 0;
}
SWIGINTERN PyObject *DoubleAbsNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsNtupleT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< unsigned char > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
unsigned long arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
unsigned long val5 ;
int ecode5 = 0 ;
bool result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dumpNtupleAsText" "', argument " "5"" of type '" "unsigned long""'");
}
arg5 = static_cast< unsigned long >(val5);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< unsigned char >((npstat::AbsNtuple< unsigned char > const &)*arg1,*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< unsigned char > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< unsigned char >((npstat::AbsNtuple< unsigned char > const &)*arg1,*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< unsigned char > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< unsigned char >((npstat::AbsNtuple< unsigned char > const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< unsigned char > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< unsigned char > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< unsigned char >((npstat::AbsNtuple< unsigned char > const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< int > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
unsigned long arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
unsigned long val5 ;
int ecode5 = 0 ;
bool result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dumpNtupleAsText" "', argument " "5"" of type '" "unsigned long""'");
}
arg5 = static_cast< unsigned long >(val5);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< int >((npstat::AbsNtuple< int > const &)*arg1,*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< int > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< int >((npstat::AbsNtuple< int > const &)*arg1,*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< int > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< int >((npstat::AbsNtuple< int > const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< int > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< int > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< int >((npstat::AbsNtuple< int > const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< long > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
unsigned long arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
unsigned long val5 ;
int ecode5 = 0 ;
bool result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dumpNtupleAsText" "', argument " "5"" of type '" "unsigned long""'");
}
arg5 = static_cast< unsigned long >(val5);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< long >((npstat::AbsNtuple< long > const &)*arg1,*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< long > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< long >((npstat::AbsNtuple< long > const &)*arg1,*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< long > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< long >((npstat::AbsNtuple< long > const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< long > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< long > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< long >((npstat::AbsNtuple< long > const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
unsigned long arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
unsigned long val5 ;
int ecode5 = 0 ;
bool result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dumpNtupleAsText" "', argument " "5"" of type '" "unsigned long""'");
}
arg5 = static_cast< unsigned long >(val5);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< float >((npstat::AbsNtuple< float > const &)*arg1,*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< float >((npstat::AbsNtuple< float > const &)*arg1,*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< float >((npstat::AbsNtuple< float > const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< float > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< float > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< float >((npstat::AbsNtuple< float > const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
unsigned long arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
unsigned long val5 ;
int ecode5 = 0 ;
bool result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "dumpNtupleAsText" "', argument " "5"" of type '" "unsigned long""'");
}
arg5 = static_cast< unsigned long >(val5);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< double >((npstat::AbsNtuple< double > const &)*arg1,*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "dumpNtupleAsText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< double >((npstat::AbsNtuple< double > const &)*arg1,*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "dumpNtupleAsText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< double >((npstat::AbsNtuple< double > const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText__SWIG_23(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsNtuple< double > *arg1 = 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "1"" of type '" "npstat::AbsNtuple< double > const &""'");
}
arg1 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dumpNtupleAsText" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR dumpNtupleAsText< double >((npstat::AbsNtuple< double > const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_dumpNtupleAsText(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "dumpNtupleAsText", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_7(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_11(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_15(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_19(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_23(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_10(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_18(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_6(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_22(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_14(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_13(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_5(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_21(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_9(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_17(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_12(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_20(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_16(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_8(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_dumpNtupleAsText__SWIG_4(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'dumpNtupleAsText'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::dumpNtupleAsText< unsigned char >(npstat::AbsNtuple< unsigned char > const &,std::ostream &,bool,unsigned long,unsigned long)\n"
" npstat::dumpNtupleAsText< unsigned char >(npstat::AbsNtuple< unsigned char > const &,std::ostream &,bool,unsigned long)\n"
" npstat::dumpNtupleAsText< unsigned char >(npstat::AbsNtuple< unsigned char > const &,std::ostream &,bool)\n"
" npstat::dumpNtupleAsText< unsigned char >(npstat::AbsNtuple< unsigned char > const &,std::ostream &)\n"
" npstat::dumpNtupleAsText< int >(npstat::AbsNtuple< int > const &,std::ostream &,bool,unsigned long,unsigned long)\n"
" npstat::dumpNtupleAsText< int >(npstat::AbsNtuple< int > const &,std::ostream &,bool,unsigned long)\n"
" npstat::dumpNtupleAsText< int >(npstat::AbsNtuple< int > const &,std::ostream &,bool)\n"
" npstat::dumpNtupleAsText< int >(npstat::AbsNtuple< int > const &,std::ostream &)\n"
" npstat::dumpNtupleAsText< long >(npstat::AbsNtuple< long > const &,std::ostream &,bool,unsigned long,unsigned long)\n"
" npstat::dumpNtupleAsText< long >(npstat::AbsNtuple< long > const &,std::ostream &,bool,unsigned long)\n"
" npstat::dumpNtupleAsText< long >(npstat::AbsNtuple< long > const &,std::ostream &,bool)\n"
" npstat::dumpNtupleAsText< long >(npstat::AbsNtuple< long > const &,std::ostream &)\n"
" npstat::dumpNtupleAsText< float >(npstat::AbsNtuple< float > const &,std::ostream &,bool,unsigned long,unsigned long)\n"
" npstat::dumpNtupleAsText< float >(npstat::AbsNtuple< float > const &,std::ostream &,bool,unsigned long)\n"
" npstat::dumpNtupleAsText< float >(npstat::AbsNtuple< float > const &,std::ostream &,bool)\n"
" npstat::dumpNtupleAsText< float >(npstat::AbsNtuple< float > const &,std::ostream &)\n"
" npstat::dumpNtupleAsText< double >(npstat::AbsNtuple< double > const &,std::ostream &,bool,unsigned long,unsigned long)\n"
" npstat::dumpNtupleAsText< double >(npstat::AbsNtuple< double > const &,std::ostream &,bool,unsigned long)\n"
" npstat::dumpNtupleAsText< double >(npstat::AbsNtuple< double > const &,std::ostream &,bool)\n"
" npstat::dumpNtupleAsText< double >(npstat::AbsNtuple< double > const &,std::ostream &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< unsigned char > *arg2 = (npstat::AbsNtuple< unsigned char > *) 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< unsigned char > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fillNtupleFromText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< unsigned char >(*arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< unsigned char > *arg2 = (npstat::AbsNtuple< unsigned char > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< unsigned char > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< unsigned char >(*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< unsigned char > *arg2 = (npstat::AbsNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< unsigned char > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< unsigned char > * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< unsigned char >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< int > *arg2 = (npstat::AbsNtuple< int > *) 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< int > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fillNtupleFromText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< int >(*arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< int > *arg2 = (npstat::AbsNtuple< int > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< int > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< int >(*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< int > *arg2 = (npstat::AbsNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< int > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< int > * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< int >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< long > *arg2 = (npstat::AbsNtuple< long > *) 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< long > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fillNtupleFromText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< long >(*arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< long > *arg2 = (npstat::AbsNtuple< long > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< long > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< long >(*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< long > *arg2 = (npstat::AbsNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< long > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< long > * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< long >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< float > *arg2 = (npstat::AbsNtuple< float > *) 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fillNtupleFromText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< float >(*arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< float > *arg2 = (npstat::AbsNtuple< float > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< float >(*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< float > *arg2 = (npstat::AbsNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< float > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< float > * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< float >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< double > *arg2 = (npstat::AbsNtuple< double > *) 0 ;
bool arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "fillNtupleFromText" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< double >(*arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< double > *arg2 = (npstat::AbsNtuple< double > *) 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "fillNtupleFromText" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< double >(*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::istream *arg1 = 0 ;
npstat::AbsNtuple< double > *arg2 = (npstat::AbsNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "fillNtupleFromText" "', argument " "1"" of type '" "std::istream &""'");
}
arg1 = reinterpret_cast< std::istream * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "fillNtupleFromText" "', argument " "2"" of type '" "npstat::AbsNtuple< double > *""'");
}
arg2 = reinterpret_cast< npstat::AbsNtuple< double > * >(argp2);
{
try {
result = (bool)npstat::SWIGTEMPLATEDISAMBIGUATOR fillNtupleFromText< double >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_fillNtupleFromText(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "fillNtupleFromText", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_fillNtupleFromText__SWIG_5(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_fillNtupleFromText__SWIG_8(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_fillNtupleFromText__SWIG_11(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_fillNtupleFromText__SWIG_14(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_fillNtupleFromText__SWIG_17(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_13(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_16(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_10(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_9(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_15(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_6(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_fillNtupleFromText__SWIG_12(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'fillNtupleFromText'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::fillNtupleFromText< unsigned char >(std::istream &,npstat::AbsNtuple< unsigned char > *,bool,unsigned long)\n"
" npstat::fillNtupleFromText< unsigned char >(std::istream &,npstat::AbsNtuple< unsigned char > *,bool)\n"
" npstat::fillNtupleFromText< unsigned char >(std::istream &,npstat::AbsNtuple< unsigned char > *)\n"
" npstat::fillNtupleFromText< int >(std::istream &,npstat::AbsNtuple< int > *,bool,unsigned long)\n"
" npstat::fillNtupleFromText< int >(std::istream &,npstat::AbsNtuple< int > *,bool)\n"
" npstat::fillNtupleFromText< int >(std::istream &,npstat::AbsNtuple< int > *)\n"
" npstat::fillNtupleFromText< long >(std::istream &,npstat::AbsNtuple< long > *,bool,unsigned long)\n"
" npstat::fillNtupleFromText< long >(std::istream &,npstat::AbsNtuple< long > *,bool)\n"
" npstat::fillNtupleFromText< long >(std::istream &,npstat::AbsNtuple< long > *)\n"
" npstat::fillNtupleFromText< float >(std::istream &,npstat::AbsNtuple< float > *,bool,unsigned long)\n"
" npstat::fillNtupleFromText< float >(std::istream &,npstat::AbsNtuple< float > *,bool)\n"
" npstat::fillNtupleFromText< float >(std::istream &,npstat::AbsNtuple< float > *)\n"
" npstat::fillNtupleFromText< double >(std::istream &,npstat::AbsNtuple< double > *,bool,unsigned long)\n"
" npstat::fillNtupleFromText< double >(std::istream &,npstat::AbsNtuple< double > *,bool)\n"
" npstat::fillNtupleFromText< double >(std::istream &,npstat::AbsNtuple< double > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_UCharArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
bool arg7 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
npstat::ArchivedNtuple< unsigned char > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_UCharArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_UCharArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_UCharArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_UCharArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_UCharArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_UCharArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_UCharArchivedNtuple" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
result = (npstat::ArchivedNtuple< unsigned char > *)new npstat::ArchivedNtuple< unsigned char >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
npstat::ArchivedNtuple< unsigned char > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_UCharArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_UCharArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_UCharArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_UCharArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_UCharArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_UCharArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
{
try {
result = (npstat::ArchivedNtuple< unsigned char > *)new npstat::ArchivedNtuple< unsigned char >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharArchivedNtuple", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 6) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UCharArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UCharArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_UCharArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< unsigned char >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long,bool)\n"
" npstat::ArchivedNtuple< unsigned char >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_UCharArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharArchivedNtuple" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_archive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
gs::AbsArchive *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_archive" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (gs::AbsArchive *) &((npstat::ArchivedNtuple< unsigned char > const *)arg1)->archive();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__AbsArchive, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_name" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< unsigned char > const *)arg1)->name();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_category(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_category" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< unsigned char > const *)arg1)->category();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_rowsPerBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_rowsPerBuffer" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->rowsPerBuffer();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_writesByColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_writesByColumn" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->writesByColumn();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_isReadable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_isReadable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->isReadable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_isWritable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_isWritable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->isWritable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_objectNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_objectNumber" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->objectNumber();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((unsigned char const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((unsigned char const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
unsigned char *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
unsigned char temp6 ;
unsigned char val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_char(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "UCharArchivedNtuple_fill" "', argument " "6"" of type '" "unsigned char""'");
}
temp6 = static_cast< unsigned char >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5,(unsigned char const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
unsigned char *arg6 = 0 ;
unsigned char *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
unsigned char temp6 ;
unsigned char val6 ;
int ecode6 = 0 ;
unsigned char temp7 ;
unsigned char val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_char(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "UCharArchivedNtuple_fill" "', argument " "6"" of type '" "unsigned char""'");
}
temp6 = static_cast< unsigned char >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_unsigned_SS_char(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "UCharArchivedNtuple_fill" "', argument " "7"" of type '" "unsigned char""'");
}
temp7 = static_cast< unsigned char >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5,(unsigned char const &)*arg6,(unsigned char const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
unsigned char *arg6 = 0 ;
unsigned char *arg7 = 0 ;
unsigned char *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
unsigned char temp6 ;
unsigned char val6 ;
int ecode6 = 0 ;
unsigned char temp7 ;
unsigned char val7 ;
int ecode7 = 0 ;
unsigned char temp8 ;
unsigned char val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_char(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "UCharArchivedNtuple_fill" "', argument " "6"" of type '" "unsigned char""'");
}
temp6 = static_cast< unsigned char >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_unsigned_SS_char(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "UCharArchivedNtuple_fill" "', argument " "7"" of type '" "unsigned char""'");
}
temp7 = static_cast< unsigned char >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_unsigned_SS_char(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "UCharArchivedNtuple_fill" "', argument " "8"" of type '" "unsigned char""'");
}
temp8 = static_cast< unsigned char >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5,(unsigned char const &)*arg6,(unsigned char const &)*arg7,(unsigned char const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
unsigned char *arg6 = 0 ;
unsigned char *arg7 = 0 ;
unsigned char *arg8 = 0 ;
unsigned char *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
unsigned char temp6 ;
unsigned char val6 ;
int ecode6 = 0 ;
unsigned char temp7 ;
unsigned char val7 ;
int ecode7 = 0 ;
unsigned char temp8 ;
unsigned char val8 ;
int ecode8 = 0 ;
unsigned char temp9 ;
unsigned char val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_char(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "UCharArchivedNtuple_fill" "', argument " "6"" of type '" "unsigned char""'");
}
temp6 = static_cast< unsigned char >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_unsigned_SS_char(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "UCharArchivedNtuple_fill" "', argument " "7"" of type '" "unsigned char""'");
}
temp7 = static_cast< unsigned char >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_unsigned_SS_char(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "UCharArchivedNtuple_fill" "', argument " "8"" of type '" "unsigned char""'");
}
temp8 = static_cast< unsigned char >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_unsigned_SS_char(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "UCharArchivedNtuple_fill" "', argument " "9"" of type '" "unsigned char""'");
}
temp9 = static_cast< unsigned char >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5,(unsigned char const &)*arg6,(unsigned char const &)*arg7,(unsigned char const &)*arg8,(unsigned char const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
unsigned char *arg6 = 0 ;
unsigned char *arg7 = 0 ;
unsigned char *arg8 = 0 ;
unsigned char *arg9 = 0 ;
unsigned char *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
unsigned char temp6 ;
unsigned char val6 ;
int ecode6 = 0 ;
unsigned char temp7 ;
unsigned char val7 ;
int ecode7 = 0 ;
unsigned char temp8 ;
unsigned char val8 ;
int ecode8 = 0 ;
unsigned char temp9 ;
unsigned char val9 ;
int ecode9 = 0 ;
unsigned char temp10 ;
unsigned char val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_char(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "UCharArchivedNtuple_fill" "', argument " "6"" of type '" "unsigned char""'");
}
temp6 = static_cast< unsigned char >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_unsigned_SS_char(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "UCharArchivedNtuple_fill" "', argument " "7"" of type '" "unsigned char""'");
}
temp7 = static_cast< unsigned char >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_unsigned_SS_char(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "UCharArchivedNtuple_fill" "', argument " "8"" of type '" "unsigned char""'");
}
temp8 = static_cast< unsigned char >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_unsigned_SS_char(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "UCharArchivedNtuple_fill" "', argument " "9"" of type '" "unsigned char""'");
}
temp9 = static_cast< unsigned char >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_unsigned_SS_char(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "UCharArchivedNtuple_fill" "', argument " "10"" of type '" "unsigned char""'");
}
temp10 = static_cast< unsigned char >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5,(unsigned char const &)*arg6,(unsigned char const &)*arg7,(unsigned char const &)*arg8,(unsigned char const &)*arg9,(unsigned char const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned char *arg2 = 0 ;
unsigned char *arg3 = 0 ;
unsigned char *arg4 = 0 ;
unsigned char *arg5 = 0 ;
unsigned char *arg6 = 0 ;
unsigned char *arg7 = 0 ;
unsigned char *arg8 = 0 ;
unsigned char *arg9 = 0 ;
unsigned char *arg10 = 0 ;
unsigned char *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char temp2 ;
unsigned char val2 ;
int ecode2 = 0 ;
unsigned char temp3 ;
unsigned char val3 ;
int ecode3 = 0 ;
unsigned char temp4 ;
unsigned char val4 ;
int ecode4 = 0 ;
unsigned char temp5 ;
unsigned char val5 ;
int ecode5 = 0 ;
unsigned char temp6 ;
unsigned char val6 ;
int ecode6 = 0 ;
unsigned char temp7 ;
unsigned char val7 ;
int ecode7 = 0 ;
unsigned char temp8 ;
unsigned char val8 ;
int ecode8 = 0 ;
unsigned char temp9 ;
unsigned char val9 ;
int ecode9 = 0 ;
unsigned char temp10 ;
unsigned char val10 ;
int ecode10 = 0 ;
unsigned char temp11 ;
unsigned char val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_fill" "', argument " "2"" of type '" "unsigned char""'");
}
temp2 = static_cast< unsigned char >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_fill" "', argument " "3"" of type '" "unsigned char""'");
}
temp3 = static_cast< unsigned char >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_fill" "', argument " "4"" of type '" "unsigned char""'");
}
temp4 = static_cast< unsigned char >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_unsigned_SS_char(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "UCharArchivedNtuple_fill" "', argument " "5"" of type '" "unsigned char""'");
}
temp5 = static_cast< unsigned char >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_unsigned_SS_char(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "UCharArchivedNtuple_fill" "', argument " "6"" of type '" "unsigned char""'");
}
temp6 = static_cast< unsigned char >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_unsigned_SS_char(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "UCharArchivedNtuple_fill" "', argument " "7"" of type '" "unsigned char""'");
}
temp7 = static_cast< unsigned char >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_unsigned_SS_char(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "UCharArchivedNtuple_fill" "', argument " "8"" of type '" "unsigned char""'");
}
temp8 = static_cast< unsigned char >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_unsigned_SS_char(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "UCharArchivedNtuple_fill" "', argument " "9"" of type '" "unsigned char""'");
}
temp9 = static_cast< unsigned char >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_unsigned_SS_char(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "UCharArchivedNtuple_fill" "', argument " "10"" of type '" "unsigned char""'");
}
temp10 = static_cast< unsigned char >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_unsigned_SS_char(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "UCharArchivedNtuple_fill" "', argument " "11"" of type '" "unsigned char""'");
}
temp11 = static_cast< unsigned char >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((unsigned char const &)*arg2,(unsigned char const &)*arg3,(unsigned char const &)*arg4,(unsigned char const &)*arg5,(unsigned char const &)*arg6,(unsigned char const &)*arg7,(unsigned char const &)*arg8,(unsigned char const &)*arg9,(unsigned char const &)*arg10,(unsigned char const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_UCharArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_UCharArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_char(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_UCharArchivedNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharArchivedNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const *,unsigned long)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n"
" npstat::ArchivedNtuple< unsigned char >::fill(unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &,unsigned char const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_nRows" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
unsigned char result;
if (!SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple___call__" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (unsigned char)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
unsigned char result;
if (!SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_at" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharArchivedNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (unsigned char)((npstat::ArchivedNtuple< unsigned char > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
unsigned long arg2 ;
unsigned char *arg3 = (unsigned char *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_rowContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UCharArchivedNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "UCharArchivedNtuple_rowContents" "', argument " "3"" of type '" "unsigned char *""'");
}
arg3 = reinterpret_cast< unsigned char * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< unsigned char > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
npstat::Column *arg2 = 0 ;
unsigned char *arg3 = (unsigned char *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_columnContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "UCharArchivedNtuple_columnContents" "', argument " "3"" of type '" "unsigned char *""'");
}
arg3 = reinterpret_cast< unsigned char * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UCharArchivedNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< unsigned char > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_clear" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_write" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = (bool)(arg1)->write();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< unsigned char > *arg1 = (npstat::ArchivedNtuple< unsigned char > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharArchivedNtuple_classId" "', argument " "1"" of type '" "npstat::ArchivedNtuple< unsigned char > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< unsigned char > * >(argp1);
{
try {
result = ((npstat::ArchivedNtuple< unsigned char > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ArchivedNtuple< unsigned char >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharArchivedNtuple_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "UCharArchivedNtuple_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ArchivedNtuple< unsigned char >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_IntArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
bool arg7 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
npstat::ArchivedNtuple< int > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_IntArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_IntArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_IntArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_IntArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_IntArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_IntArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_IntArchivedNtuple" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
result = (npstat::ArchivedNtuple< int > *)new npstat::ArchivedNtuple< int >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
npstat::ArchivedNtuple< int > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_IntArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_IntArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_IntArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_IntArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_IntArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_IntArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
{
try {
result = (npstat::ArchivedNtuple< int > *)new npstat::ArchivedNtuple< int >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_IntArchivedNtuple", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 6) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_IntArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_IntArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IntArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< int >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long,bool)\n"
" npstat::ArchivedNtuple< int >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_IntArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntArchivedNtuple" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_archive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
gs::AbsArchive *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_archive" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (gs::AbsArchive *) &((npstat::ArchivedNtuple< int > const *)arg1)->archive();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__AbsArchive, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_name" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< int > const *)arg1)->name();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_category(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_category" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< int > const *)arg1)->category();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_rowsPerBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_rowsPerBuffer" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< int > const *)arg1)->rowsPerBuffer();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_writesByColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_writesByColumn" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< int > const *)arg1)->writesByColumn();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_isReadable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_isReadable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< int > const *)arg1)->isReadable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_isWritable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_isWritable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< int > const *)arg1)->isWritable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_objectNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_objectNumber" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< int > const *)arg1)->objectNumber();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = (int *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_INT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (int*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((int const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
int *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
int temp6 ;
int val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IntArchivedNtuple_fill" "', argument " "6"" of type '" "int""'");
}
temp6 = static_cast< int >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5,(int const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
int *arg6 = 0 ;
int *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
int temp6 ;
int val6 ;
int ecode6 = 0 ;
int temp7 ;
int val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IntArchivedNtuple_fill" "', argument " "6"" of type '" "int""'");
}
temp6 = static_cast< int >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IntArchivedNtuple_fill" "', argument " "7"" of type '" "int""'");
}
temp7 = static_cast< int >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5,(int const &)*arg6,(int const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
int *arg6 = 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
int temp6 ;
int val6 ;
int ecode6 = 0 ;
int temp7 ;
int val7 ;
int ecode7 = 0 ;
int temp8 ;
int val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IntArchivedNtuple_fill" "', argument " "6"" of type '" "int""'");
}
temp6 = static_cast< int >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IntArchivedNtuple_fill" "', argument " "7"" of type '" "int""'");
}
temp7 = static_cast< int >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IntArchivedNtuple_fill" "', argument " "8"" of type '" "int""'");
}
temp8 = static_cast< int >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5,(int const &)*arg6,(int const &)*arg7,(int const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
int *arg6 = 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
int *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
int temp6 ;
int val6 ;
int ecode6 = 0 ;
int temp7 ;
int val7 ;
int ecode7 = 0 ;
int temp8 ;
int val8 ;
int ecode8 = 0 ;
int temp9 ;
int val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IntArchivedNtuple_fill" "', argument " "6"" of type '" "int""'");
}
temp6 = static_cast< int >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IntArchivedNtuple_fill" "', argument " "7"" of type '" "int""'");
}
temp7 = static_cast< int >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IntArchivedNtuple_fill" "', argument " "8"" of type '" "int""'");
}
temp8 = static_cast< int >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "IntArchivedNtuple_fill" "', argument " "9"" of type '" "int""'");
}
temp9 = static_cast< int >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5,(int const &)*arg6,(int const &)*arg7,(int const &)*arg8,(int const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
int *arg6 = 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
int *arg9 = 0 ;
int *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
int temp6 ;
int val6 ;
int ecode6 = 0 ;
int temp7 ;
int val7 ;
int ecode7 = 0 ;
int temp8 ;
int val8 ;
int ecode8 = 0 ;
int temp9 ;
int val9 ;
int ecode9 = 0 ;
int temp10 ;
int val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IntArchivedNtuple_fill" "', argument " "6"" of type '" "int""'");
}
temp6 = static_cast< int >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IntArchivedNtuple_fill" "', argument " "7"" of type '" "int""'");
}
temp7 = static_cast< int >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IntArchivedNtuple_fill" "', argument " "8"" of type '" "int""'");
}
temp8 = static_cast< int >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "IntArchivedNtuple_fill" "', argument " "9"" of type '" "int""'");
}
temp9 = static_cast< int >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "IntArchivedNtuple_fill" "', argument " "10"" of type '" "int""'");
}
temp10 = static_cast< int >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5,(int const &)*arg6,(int const &)*arg7,(int const &)*arg8,(int const &)*arg9,(int const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
int *arg2 = 0 ;
int *arg3 = 0 ;
int *arg4 = 0 ;
int *arg5 = 0 ;
int *arg6 = 0 ;
int *arg7 = 0 ;
int *arg8 = 0 ;
int *arg9 = 0 ;
int *arg10 = 0 ;
int *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int temp2 ;
int val2 ;
int ecode2 = 0 ;
int temp3 ;
int val3 ;
int ecode3 = 0 ;
int temp4 ;
int val4 ;
int ecode4 = 0 ;
int temp5 ;
int val5 ;
int ecode5 = 0 ;
int temp6 ;
int val6 ;
int ecode6 = 0 ;
int temp7 ;
int val7 ;
int ecode7 = 0 ;
int temp8 ;
int val8 ;
int ecode8 = 0 ;
int temp9 ;
int val9 ;
int ecode9 = 0 ;
int temp10 ;
int val10 ;
int ecode10 = 0 ;
int temp11 ;
int val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_fill" "', argument " "2"" of type '" "int""'");
}
temp2 = static_cast< int >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_fill" "', argument " "3"" of type '" "int""'");
}
temp3 = static_cast< int >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_fill" "', argument " "4"" of type '" "int""'");
}
temp4 = static_cast< int >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "IntArchivedNtuple_fill" "', argument " "5"" of type '" "int""'");
}
temp5 = static_cast< int >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "IntArchivedNtuple_fill" "', argument " "6"" of type '" "int""'");
}
temp6 = static_cast< int >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "IntArchivedNtuple_fill" "', argument " "7"" of type '" "int""'");
}
temp7 = static_cast< int >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "IntArchivedNtuple_fill" "', argument " "8"" of type '" "int""'");
}
temp8 = static_cast< int >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "IntArchivedNtuple_fill" "', argument " "9"" of type '" "int""'");
}
temp9 = static_cast< int >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "IntArchivedNtuple_fill" "', argument " "10"" of type '" "int""'");
}
temp10 = static_cast< int >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "IntArchivedNtuple_fill" "', argument " "11"" of type '" "int""'");
}
temp11 = static_cast< int >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((int const &)*arg2,(int const &)*arg3,(int const &)*arg4,(int const &)*arg5,(int const &)*arg6,(int const &)*arg7,(int const &)*arg8,(int const &)*arg9,(int const &)*arg10,(int const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "IntArchivedNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_IntArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_IntArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_IntArchivedNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'IntArchivedNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< int >::fill(int const *,unsigned long)\n"
" npstat::ArchivedNtuple< int >::fill(int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &,int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &,int const &,int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &,int const &,int const &,int const &,int const &,int const &)\n"
" npstat::ArchivedNtuple< int >::fill(int const &,int const &,int const &,int const &,int const &,int const &,int const &,int const &,int const &,int const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_nRows" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< int > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
int result;
if (!SWIG_Python_UnpackTuple(args, "IntArchivedNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple___call__" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (int)((npstat::ArchivedNtuple< int > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
int result;
if (!SWIG_Python_UnpackTuple(args, "IntArchivedNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_at" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntArchivedNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (int)((npstat::ArchivedNtuple< int > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
unsigned long arg2 ;
int *arg3 = (int *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "IntArchivedNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_rowContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IntArchivedNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IntArchivedNtuple_rowContents" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< int > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
npstat::Column *arg2 = 0 ;
int *arg3 = (int *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "IntArchivedNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_columnContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IntArchivedNtuple_columnContents" "', argument " "3"" of type '" "int *""'");
}
arg3 = reinterpret_cast< int * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "IntArchivedNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< int > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_clear" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_write" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = (bool)(arg1)->write();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< int > *arg1 = (npstat::ArchivedNtuple< int > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntArchivedNtuple_classId" "', argument " "1"" of type '" "npstat::ArchivedNtuple< int > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< int > * >(argp1);
{
try {
result = ((npstat::ArchivedNtuple< int > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "IntArchivedNtuple_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ArchivedNtuple< int >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntArchivedNtuple_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "IntArchivedNtuple_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ArchivedNtuple< int >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LongArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
bool arg7 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
npstat::ArchivedNtuple< long > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LongArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_LongArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LongArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_LongArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LongArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_LongArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_LongArchivedNtuple" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
result = (npstat::ArchivedNtuple< long > *)new npstat::ArchivedNtuple< long >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
npstat::ArchivedNtuple< long > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LongArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_LongArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LongArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_LongArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LongArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_LongArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
{
try {
result = (npstat::ArchivedNtuple< long > *)new npstat::ArchivedNtuple< long >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LongArchivedNtuple", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 6) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LongArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LongArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LongArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< long >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long,bool)\n"
" npstat::ArchivedNtuple< long >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LongArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongArchivedNtuple" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_archive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
gs::AbsArchive *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_archive" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (gs::AbsArchive *) &((npstat::ArchivedNtuple< long > const *)arg1)->archive();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__AbsArchive, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_name" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< long > const *)arg1)->name();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_category(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_category" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< long > const *)arg1)->category();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_rowsPerBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_rowsPerBuffer" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< long > const *)arg1)->rowsPerBuffer();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_writesByColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_writesByColumn" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< long > const *)arg1)->writesByColumn();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_isReadable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_isReadable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< long > const *)arg1)->isReadable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_isWritable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_isWritable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< long > const *)arg1)->isWritable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_objectNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_objectNumber" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< long > const *)arg1)->objectNumber();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = (long *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_LONG,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (long*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((long const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((long const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
long *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
long temp6 ;
long val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LongArchivedNtuple_fill" "', argument " "6"" of type '" "long""'");
}
temp6 = static_cast< long >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5,(long const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
long *arg6 = 0 ;
long *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
long temp6 ;
long val6 ;
int ecode6 = 0 ;
long temp7 ;
long val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LongArchivedNtuple_fill" "', argument " "6"" of type '" "long""'");
}
temp6 = static_cast< long >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_long(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LongArchivedNtuple_fill" "', argument " "7"" of type '" "long""'");
}
temp7 = static_cast< long >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5,(long const &)*arg6,(long const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
long *arg6 = 0 ;
long *arg7 = 0 ;
long *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
long temp6 ;
long val6 ;
int ecode6 = 0 ;
long temp7 ;
long val7 ;
int ecode7 = 0 ;
long temp8 ;
long val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LongArchivedNtuple_fill" "', argument " "6"" of type '" "long""'");
}
temp6 = static_cast< long >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_long(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LongArchivedNtuple_fill" "', argument " "7"" of type '" "long""'");
}
temp7 = static_cast< long >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_long(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LongArchivedNtuple_fill" "', argument " "8"" of type '" "long""'");
}
temp8 = static_cast< long >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5,(long const &)*arg6,(long const &)*arg7,(long const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
long *arg6 = 0 ;
long *arg7 = 0 ;
long *arg8 = 0 ;
long *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
long temp6 ;
long val6 ;
int ecode6 = 0 ;
long temp7 ;
long val7 ;
int ecode7 = 0 ;
long temp8 ;
long val8 ;
int ecode8 = 0 ;
long temp9 ;
long val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LongArchivedNtuple_fill" "', argument " "6"" of type '" "long""'");
}
temp6 = static_cast< long >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_long(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LongArchivedNtuple_fill" "', argument " "7"" of type '" "long""'");
}
temp7 = static_cast< long >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_long(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LongArchivedNtuple_fill" "', argument " "8"" of type '" "long""'");
}
temp8 = static_cast< long >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_long(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LongArchivedNtuple_fill" "', argument " "9"" of type '" "long""'");
}
temp9 = static_cast< long >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5,(long const &)*arg6,(long const &)*arg7,(long const &)*arg8,(long const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
long *arg6 = 0 ;
long *arg7 = 0 ;
long *arg8 = 0 ;
long *arg9 = 0 ;
long *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
long temp6 ;
long val6 ;
int ecode6 = 0 ;
long temp7 ;
long val7 ;
int ecode7 = 0 ;
long temp8 ;
long val8 ;
int ecode8 = 0 ;
long temp9 ;
long val9 ;
int ecode9 = 0 ;
long temp10 ;
long val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LongArchivedNtuple_fill" "', argument " "6"" of type '" "long""'");
}
temp6 = static_cast< long >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_long(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LongArchivedNtuple_fill" "', argument " "7"" of type '" "long""'");
}
temp7 = static_cast< long >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_long(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LongArchivedNtuple_fill" "', argument " "8"" of type '" "long""'");
}
temp8 = static_cast< long >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_long(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LongArchivedNtuple_fill" "', argument " "9"" of type '" "long""'");
}
temp9 = static_cast< long >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_long(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "LongArchivedNtuple_fill" "', argument " "10"" of type '" "long""'");
}
temp10 = static_cast< long >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5,(long const &)*arg6,(long const &)*arg7,(long const &)*arg8,(long const &)*arg9,(long const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
long *arg2 = 0 ;
long *arg3 = 0 ;
long *arg4 = 0 ;
long *arg5 = 0 ;
long *arg6 = 0 ;
long *arg7 = 0 ;
long *arg8 = 0 ;
long *arg9 = 0 ;
long *arg10 = 0 ;
long *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long temp2 ;
long val2 ;
int ecode2 = 0 ;
long temp3 ;
long val3 ;
int ecode3 = 0 ;
long temp4 ;
long val4 ;
int ecode4 = 0 ;
long temp5 ;
long val5 ;
int ecode5 = 0 ;
long temp6 ;
long val6 ;
int ecode6 = 0 ;
long temp7 ;
long val7 ;
int ecode7 = 0 ;
long temp8 ;
long val8 ;
int ecode8 = 0 ;
long temp9 ;
long val9 ;
int ecode9 = 0 ;
long temp10 ;
long val10 ;
int ecode10 = 0 ;
long temp11 ;
long val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_fill" "', argument " "2"" of type '" "long""'");
}
temp2 = static_cast< long >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_fill" "', argument " "3"" of type '" "long""'");
}
temp3 = static_cast< long >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_fill" "', argument " "4"" of type '" "long""'");
}
temp4 = static_cast< long >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_long(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LongArchivedNtuple_fill" "', argument " "5"" of type '" "long""'");
}
temp5 = static_cast< long >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LongArchivedNtuple_fill" "', argument " "6"" of type '" "long""'");
}
temp6 = static_cast< long >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_long(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "LongArchivedNtuple_fill" "', argument " "7"" of type '" "long""'");
}
temp7 = static_cast< long >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_long(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "LongArchivedNtuple_fill" "', argument " "8"" of type '" "long""'");
}
temp8 = static_cast< long >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_long(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "LongArchivedNtuple_fill" "', argument " "9"" of type '" "long""'");
}
temp9 = static_cast< long >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_long(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "LongArchivedNtuple_fill" "', argument " "10"" of type '" "long""'");
}
temp10 = static_cast< long >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_long(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "LongArchivedNtuple_fill" "', argument " "11"" of type '" "long""'");
}
temp11 = static_cast< long >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((long const &)*arg2,(long const &)*arg3,(long const &)*arg4,(long const &)*arg5,(long const &)*arg6,(long const &)*arg7,(long const &)*arg8,(long const &)*arg9,(long const &)*arg10,(long const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LongArchivedNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_LongArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_LongArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_long(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LongArchivedNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LongArchivedNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< long >::fill(long const *,unsigned long)\n"
" npstat::ArchivedNtuple< long >::fill(long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &,long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &,long const &,long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &,long const &,long const &,long const &,long const &,long const &)\n"
" npstat::ArchivedNtuple< long >::fill(long const &,long const &,long const &,long const &,long const &,long const &,long const &,long const &,long const &,long const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_nRows" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< long > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
long result;
if (!SWIG_Python_UnpackTuple(args, "LongArchivedNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple___call__" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (long)((npstat::ArchivedNtuple< long > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_long(static_cast< long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
long result;
if (!SWIG_Python_UnpackTuple(args, "LongArchivedNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_at" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongArchivedNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (long)((npstat::ArchivedNtuple< long > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_long(static_cast< long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
unsigned long arg2 ;
long *arg3 = (long *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "LongArchivedNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_rowContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LongArchivedNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_long, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LongArchivedNtuple_rowContents" "', argument " "3"" of type '" "long *""'");
}
arg3 = reinterpret_cast< long * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< long > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
npstat::Column *arg2 = 0 ;
long *arg3 = (long *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "LongArchivedNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_columnContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_long, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LongArchivedNtuple_columnContents" "', argument " "3"" of type '" "long *""'");
}
arg3 = reinterpret_cast< long * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "LongArchivedNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< long > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_clear" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_write" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = (bool)(arg1)->write();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< long > *arg1 = (npstat::ArchivedNtuple< long > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongArchivedNtuple_classId" "', argument " "1"" of type '" "npstat::ArchivedNtuple< long > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< long > * >(argp1);
{
try {
result = ((npstat::ArchivedNtuple< long > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LongArchivedNtuple_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ArchivedNtuple< long >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongArchivedNtuple_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LongArchivedNtuple_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ArchivedNtuple< long >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_FloatArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
bool arg7 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
npstat::ArchivedNtuple< float > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_FloatArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_FloatArchivedNtuple" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
result = (npstat::ArchivedNtuple< float > *)new npstat::ArchivedNtuple< float >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
npstat::ArchivedNtuple< float > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_FloatArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_FloatArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FloatArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
{
try {
result = (npstat::ArchivedNtuple< float > *)new npstat::ArchivedNtuple< float >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_FloatArchivedNtuple", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 6) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_FloatArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_FloatArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< float >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long,bool)\n"
" npstat::ArchivedNtuple< float >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_FloatArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatArchivedNtuple" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_archive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
gs::AbsArchive *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_archive" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (gs::AbsArchive *) &((npstat::ArchivedNtuple< float > const *)arg1)->archive();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__AbsArchive, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_name" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< float > const *)arg1)->name();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_category(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_category" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< float > const *)arg1)->category();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_rowsPerBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_rowsPerBuffer" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< float > const *)arg1)->rowsPerBuffer();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_writesByColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_writesByColumn" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< float > const *)arg1)->writesByColumn();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_isReadable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_isReadable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< float > const *)arg1)->isReadable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_isWritable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_isWritable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< float > const *)arg1)->isWritable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_objectNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_objectNumber" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< float > const *)arg1)->objectNumber();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((float const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((float const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatArchivedNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatArchivedNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatArchivedNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatArchivedNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatArchivedNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatArchivedNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
float *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
float temp9 ;
float val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatArchivedNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatArchivedNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatArchivedNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_float(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FloatArchivedNtuple_fill" "', argument " "9"" of type '" "float""'");
}
temp9 = static_cast< float >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8,(float const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
float *arg9 = 0 ;
float *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
float temp9 ;
float val9 ;
int ecode9 = 0 ;
float temp10 ;
float val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatArchivedNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatArchivedNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatArchivedNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_float(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FloatArchivedNtuple_fill" "', argument " "9"" of type '" "float""'");
}
temp9 = static_cast< float >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_float(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "FloatArchivedNtuple_fill" "', argument " "10"" of type '" "float""'");
}
temp10 = static_cast< float >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8,(float const &)*arg9,(float const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
float *arg2 = 0 ;
float *arg3 = 0 ;
float *arg4 = 0 ;
float *arg5 = 0 ;
float *arg6 = 0 ;
float *arg7 = 0 ;
float *arg8 = 0 ;
float *arg9 = 0 ;
float *arg10 = 0 ;
float *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
float temp3 ;
float val3 ;
int ecode3 = 0 ;
float temp4 ;
float val4 ;
int ecode4 = 0 ;
float temp5 ;
float val5 ;
int ecode5 = 0 ;
float temp6 ;
float val6 ;
int ecode6 = 0 ;
float temp7 ;
float val7 ;
int ecode7 = 0 ;
float temp8 ;
float val8 ;
int ecode8 = 0 ;
float temp9 ;
float val9 ;
int ecode9 = 0 ;
float temp10 ;
float val10 ;
int ecode10 = 0 ;
float temp11 ;
float val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_fill" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_float(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_fill" "', argument " "3"" of type '" "float""'");
}
temp3 = static_cast< float >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_float(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_fill" "', argument " "4"" of type '" "float""'");
}
temp4 = static_cast< float >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_float(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FloatArchivedNtuple_fill" "', argument " "5"" of type '" "float""'");
}
temp5 = static_cast< float >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_float(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "FloatArchivedNtuple_fill" "', argument " "6"" of type '" "float""'");
}
temp6 = static_cast< float >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_float(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FloatArchivedNtuple_fill" "', argument " "7"" of type '" "float""'");
}
temp7 = static_cast< float >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_float(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "FloatArchivedNtuple_fill" "', argument " "8"" of type '" "float""'");
}
temp8 = static_cast< float >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_float(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FloatArchivedNtuple_fill" "', argument " "9"" of type '" "float""'");
}
temp9 = static_cast< float >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_float(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "FloatArchivedNtuple_fill" "', argument " "10"" of type '" "float""'");
}
temp10 = static_cast< float >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_float(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "FloatArchivedNtuple_fill" "', argument " "11"" of type '" "float""'");
}
temp11 = static_cast< float >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((float const &)*arg2,(float const &)*arg3,(float const &)*arg4,(float const &)*arg5,(float const &)*arg6,(float const &)*arg7,(float const &)*arg8,(float const &)*arg9,(float const &)*arg10,(float const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_FloatArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_FloatArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_float(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_FloatArchivedNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatArchivedNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< float >::fill(float const *,unsigned long)\n"
" npstat::ArchivedNtuple< float >::fill(float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n"
" npstat::ArchivedNtuple< float >::fill(float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &,float const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_nRows" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< float > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
float result;
if (!SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple___call__" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (float)((npstat::ArchivedNtuple< float > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
float result;
if (!SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_at" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatArchivedNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (float)((npstat::ArchivedNtuple< float > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
unsigned long arg2 ;
float *arg3 = (float *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_rowContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatArchivedNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatArchivedNtuple_rowContents" "', argument " "3"" of type '" "float *""'");
}
arg3 = reinterpret_cast< float * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< float > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
npstat::Column *arg2 = 0 ;
float *arg3 = (float *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_columnContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatArchivedNtuple_columnContents" "', argument " "3"" of type '" "float *""'");
}
arg3 = reinterpret_cast< float * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FloatArchivedNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< float > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_clear" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_write" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = (bool)(arg1)->write();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< float > *arg1 = (npstat::ArchivedNtuple< float > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatArchivedNtuple_classId" "', argument " "1"" of type '" "npstat::ArchivedNtuple< float > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< float > * >(argp1);
{
try {
result = ((npstat::ArchivedNtuple< float > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ArchivedNtuple< float >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatArchivedNtuple_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatArchivedNtuple_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ArchivedNtuple< float >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
bool arg7 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
bool val7 ;
int ecode7 = 0 ;
npstat::ArchivedNtuple< double > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DoubleArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DoubleArchivedNtuple" "', argument " "7"" of type '" "bool""'");
}
arg7 = static_cast< bool >(val7);
{
try {
result = (npstat::ArchivedNtuple< double > *)new npstat::ArchivedNtuple< double >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ;
char *arg2 = (char *) 0 ;
gs::AbsArchive *arg3 = 0 ;
char *arg4 = (char *) 0 ;
char *arg5 = (char *) 0 ;
unsigned long arg6 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
int res4 ;
char *buf4 = 0 ;
int alloc4 = 0 ;
int res5 ;
char *buf5 = 0 ;
int alloc5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
npstat::ArchivedNtuple< double > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
{
if (PySequence_Check(swig_obj[0]))
{
arg1 = new std::vector<std::string>();
const Py_ssize_t size = PySequence_Size(swig_obj[0]);
arg1->reserve(size);
for (Py_ssize_t i=0; i<size; ++i)
{
PyObject *o = PySequence_GetItem(swig_obj[0], i);
assert(o);
if (PyUnicode_Check(o))
{
PyObject* pyStr = PyUnicode_AsEncodedString(o, "utf-8", "Error -");
assert(pyStr);
const char* contents = PyBytes_AsString(pyStr);
assert(contents);
arg1->push_back(std::string(contents));
Py_DECREF(pyStr);
Py_DECREF(o);
}
else
{
Py_DECREF(o);
delete arg1;
SWIG_exception(SWIG_TypeError, "sequence must contain only strings");
return NULL;
}
}
}
else
{
SWIG_exception(SWIG_TypeError, "expected a sequence of strings");
return NULL;
}
}
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleArchivedNtuple" "', argument " "3"" of type '" "gs::AbsArchive &""'");
}
arg3 = reinterpret_cast< gs::AbsArchive * >(argp3);
res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DoubleArchivedNtuple" "', argument " "4"" of type '" "char const *""'");
}
arg4 = reinterpret_cast< char * >(buf4);
res5 = SWIG_AsCharPtrAndSize(swig_obj[4], &buf5, NULL, &alloc5);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DoubleArchivedNtuple" "', argument " "5"" of type '" "char const *""'");
}
arg5 = reinterpret_cast< char * >(buf5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DoubleArchivedNtuple" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
{
try {
result = (npstat::ArchivedNtuple< double > *)new npstat::ArchivedNtuple< double >((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(char const *)arg2,*arg3,(char const *)arg4,(char const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, SWIG_POINTER_NEW | 0 );
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return resultobj;
fail:
{
delete arg1;
}
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
if (alloc5 == SWIG_NEWOBJ) delete[] buf5;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DoubleArchivedNtuple", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 6) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
_v = 0;
if (PySequence_Check(argv[0]))
{
int allStrings = 1;
const Py_ssize_t size = PySequence_Size(argv[0]);
for (Py_ssize_t i=0; i<size && allStrings; ++i)
{
PyObject *o = PySequence_GetItem(argv[0], i);
assert(o);
if (!PyUnicode_Check(o))
allStrings = 0;
Py_DECREF(o);
}
_v = allStrings;
}
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[3], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[4], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DoubleArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DoubleArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< double >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long,bool)\n"
" npstat::ArchivedNtuple< double >::ArchivedNtuple(std::vector< std::string,std::allocator< std::string > > const &,char const *,gs::AbsArchive &,char const *,char const *,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DoubleArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleArchivedNtuple" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_archive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
gs::AbsArchive *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_archive" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (gs::AbsArchive *) &((npstat::ArchivedNtuple< double > const *)arg1)->archive();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__AbsArchive, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_name" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< double > const *)arg1)->name();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_category(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_category" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (std::string *) &((npstat::ArchivedNtuple< double > const *)arg1)->category();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_rowsPerBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_rowsPerBuffer" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< double > const *)arg1)->rowsPerBuffer();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_writesByColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_writesByColumn" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< double > const *)arg1)->writesByColumn();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_isReadable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_isReadable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< double > const *)arg1)->isReadable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_isWritable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_isWritable" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (bool)((npstat::ArchivedNtuple< double > const *)arg1)->isWritable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_objectNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_objectNumber" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< double > const *)arg1)->objectNumber();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->fill((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
(arg1)->fill((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleArchivedNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleArchivedNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleArchivedNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleArchivedNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleArchivedNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleArchivedNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
double *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
double temp9 ;
double val9 ;
int ecode9 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleArchivedNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleArchivedNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleArchivedNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "DoubleArchivedNtuple_fill" "', argument " "9"" of type '" "double""'");
}
temp9 = static_cast< double >(val9);
arg9 = &temp9;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8,(double const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
double *arg9 = 0 ;
double *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
double temp9 ;
double val9 ;
int ecode9 = 0 ;
double temp10 ;
double val10 ;
int ecode10 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleArchivedNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleArchivedNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleArchivedNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "DoubleArchivedNtuple_fill" "', argument " "9"" of type '" "double""'");
}
temp9 = static_cast< double >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "DoubleArchivedNtuple_fill" "', argument " "10"" of type '" "double""'");
}
temp10 = static_cast< double >(val10);
arg10 = &temp10;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8,(double const &)*arg9,(double const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
double *arg2 = 0 ;
double *arg3 = 0 ;
double *arg4 = 0 ;
double *arg5 = 0 ;
double *arg6 = 0 ;
double *arg7 = 0 ;
double *arg8 = 0 ;
double *arg9 = 0 ;
double *arg10 = 0 ;
double *arg11 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
double val4 ;
int ecode4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double temp6 ;
double val6 ;
int ecode6 = 0 ;
double temp7 ;
double val7 ;
int ecode7 = 0 ;
double temp8 ;
double val8 ;
int ecode8 = 0 ;
double temp9 ;
double val9 ;
int ecode9 = 0 ;
double temp10 ;
double val10 ;
int ecode10 = 0 ;
double temp11 ;
double val11 ;
int ecode11 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_fill" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_fill" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_fill" "', argument " "3"" of type '" "double""'");
}
temp3 = static_cast< double >(val3);
arg3 = &temp3;
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_fill" "', argument " "4"" of type '" "double""'");
}
temp4 = static_cast< double >(val4);
arg4 = &temp4;
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DoubleArchivedNtuple_fill" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DoubleArchivedNtuple_fill" "', argument " "6"" of type '" "double""'");
}
temp6 = static_cast< double >(val6);
arg6 = &temp6;
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DoubleArchivedNtuple_fill" "', argument " "7"" of type '" "double""'");
}
temp7 = static_cast< double >(val7);
arg7 = &temp7;
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DoubleArchivedNtuple_fill" "', argument " "8"" of type '" "double""'");
}
temp8 = static_cast< double >(val8);
arg8 = &temp8;
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "DoubleArchivedNtuple_fill" "', argument " "9"" of type '" "double""'");
}
temp9 = static_cast< double >(val9);
arg9 = &temp9;
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "DoubleArchivedNtuple_fill" "', argument " "10"" of type '" "double""'");
}
temp10 = static_cast< double >(val10);
arg10 = &temp10;
ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "DoubleArchivedNtuple_fill" "', argument " "11"" of type '" "double""'");
}
temp11 = static_cast< double >(val11);
arg11 = &temp11;
{
try {
(arg1)->fill((double const &)*arg2,(double const &)*arg3,(double const &)*arg4,(double const &)*arg5,(double const &)*arg6,(double const &)*arg7,(double const &)*arg8,(double const &)*arg9,(double const &)*arg10,(double const &)*arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_fill(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple_fill", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
return _wrap_DoubleArchivedNtuple_fill__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_DoubleArchivedNtuple_fill__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleArchivedNtuple_fill'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArchivedNtuple< double >::fill(double const *,unsigned long)\n"
" npstat::ArchivedNtuple< double >::fill(double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n"
" npstat::ArchivedNtuple< double >::fill(double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &,double const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_nRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_nRows" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArchivedNtuple< double > const *)arg1)->nRows();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple___call__" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple___call__" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple___call__" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::ArchivedNtuple< double > const *)arg1)->operator ()(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
unsigned long arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple_at", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_at" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_at" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleArchivedNtuple_at" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::ArchivedNtuple< double > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_rowContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple_rowContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_rowContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleArchivedNtuple_rowContents" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleArchivedNtuple_rowContents" "', argument " "3"" of type '" "double *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_rowContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< double > const *)arg1)->rowContents(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_columnContents(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
npstat::Column *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple_columnContents", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_columnContents" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Column, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleArchivedNtuple_columnContents" "', argument " "2"" of type '" "npstat::Column const &""'");
}
arg2 = reinterpret_cast< npstat::Column * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleArchivedNtuple_columnContents" "', argument " "3"" of type '" "double *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DoubleArchivedNtuple_columnContents" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
((npstat::ArchivedNtuple< double > const *)arg1)->columnContents((npstat::Column const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_clear" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_write" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = (bool)(arg1)->write();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArchivedNtuple< double > *arg1 = (npstat::ArchivedNtuple< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleArchivedNtuple_classId" "', argument " "1"" of type '" "npstat::ArchivedNtuple< double > const *""'");
}
arg1 = reinterpret_cast< npstat::ArchivedNtuple< double > * >(argp1);
{
try {
result = ((npstat::ArchivedNtuple< double > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ArchivedNtuple< double >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleArchivedNtuple_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleArchivedNtuple_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ArchivedNtuple< double >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Ref_IntArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< int > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< int > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< int > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_int_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IntArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< int > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< int > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< int > >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_int_t_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IntArchivedNtuple__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< int > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_IntArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IntArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< int > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< int > >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_int_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IntArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_IntArchivedNtuple", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_IntArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_IntArchivedNtuple__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_IntArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_IntArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< int > >::NtupleReference(gs::AbsArchive &,unsigned long long const)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< int > >::NtupleReference(gs::AbsArchive &,char const *,char const *)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< int > >::NtupleReference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Ref_IntArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< int > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< int > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_int_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_IntArchivedNtuple" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< int > > *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< int > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_IntArchivedNtuple_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< int > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< int > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArchivedNtuple< int > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_IntArchivedNtuple_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_int_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IntArchivedNtuple_retrieve" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< int > > const *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< int > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_IntArchivedNtuple_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ArchivedNtuple< int > *)npstat_NtupleReference_Sl_npstat_ArchivedNtuple_Sl_int_Sg__Sg__retrieve((npstat::NtupleReference< npstat::ArchivedNtuple< int > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_int_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_IntArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_int_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_IntArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Ref_LongArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< long > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< long > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< long > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_long_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LongArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< long > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< long > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< long > >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_long_t_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LongArchivedNtuple__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< long > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LongArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LongArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< long > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< long > >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_long_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LongArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LongArchivedNtuple", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_LongArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LongArchivedNtuple__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LongArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LongArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< long > >::NtupleReference(gs::AbsArchive &,unsigned long long const)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< long > >::NtupleReference(gs::AbsArchive &,char const *,char const *)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< long > >::NtupleReference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LongArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< long > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< long > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_long_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LongArchivedNtuple" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< long > > *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< long > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LongArchivedNtuple_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< long > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< long > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArchivedNtuple< long > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LongArchivedNtuple_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_long_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LongArchivedNtuple_retrieve" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< long > > const *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< long > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LongArchivedNtuple_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ArchivedNtuple< long > *)npstat_NtupleReference_Sl_npstat_ArchivedNtuple_Sl_long_Sg__Sg__retrieve((npstat::NtupleReference< npstat::ArchivedNtuple< long > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_long_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_LongArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_long_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LongArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_unsigned_char_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_unsigned_char_t_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharArchivedNtuple__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UCharArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_unsigned_char_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UCharArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_UCharArchivedNtuple", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_UCharArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_UCharArchivedNtuple__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_UCharArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_UCharArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > >::NtupleReference(gs::AbsArchive &,unsigned long long const)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > >::NtupleReference(gs::AbsArchive &,char const *,char const *)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > >::NtupleReference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Ref_UCharArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_unsigned_char_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_UCharArchivedNtuple" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_UCharArchivedNtuple_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArchivedNtuple< unsigned char > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_UCharArchivedNtuple_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_unsigned_char_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UCharArchivedNtuple_retrieve" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > const *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UCharArchivedNtuple_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ArchivedNtuple< unsigned char > *)npstat_NtupleReference_Sl_npstat_ArchivedNtuple_Sl_unsigned_SS_char_Sg__Sg__retrieve((npstat::NtupleReference< npstat::ArchivedNtuple< unsigned char > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_unsigned_char_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_UCharArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_unsigned_char_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_UCharArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Ref_FloatArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< float > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< float > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< float > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_FloatArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< float > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< float > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< float > >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_float_t_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_FloatArchivedNtuple__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< float > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_FloatArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< float > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< float > >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_float_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_FloatArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_FloatArchivedNtuple", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_FloatArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_FloatArchivedNtuple__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_FloatArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_FloatArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< float > >::NtupleReference(gs::AbsArchive &,unsigned long long const)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< float > >::NtupleReference(gs::AbsArchive &,char const *,char const *)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< float > >::NtupleReference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Ref_FloatArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< float > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< float > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_FloatArchivedNtuple" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< float > > *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< float > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_FloatArchivedNtuple_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< float > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< float > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArchivedNtuple< float > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_FloatArchivedNtuple_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_FloatArchivedNtuple_retrieve" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< float > > const *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< float > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_FloatArchivedNtuple_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ArchivedNtuple< float > *)npstat_NtupleReference_Sl_npstat_ArchivedNtuple_Sl_float_Sg__Sg__retrieve((npstat::NtupleReference< npstat::ArchivedNtuple< float > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_float_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_FloatArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_FloatArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_Ref_DoubleArchivedNtuple__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< double > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< double > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< double > >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DoubleArchivedNtuple__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< double > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< double > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< double > >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_double_t_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DoubleArchivedNtuple__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::NtupleReference< npstat::ArchivedNtuple< double > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_DoubleArchivedNtuple" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (npstat::NtupleReference< npstat::ArchivedNtuple< double > > *)new npstat::NtupleReference< npstat::ArchivedNtuple< double > >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_DoubleArchivedNtuple(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_DoubleArchivedNtuple", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_DoubleArchivedNtuple__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_DoubleArchivedNtuple__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_DoubleArchivedNtuple__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_DoubleArchivedNtuple'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< double > >::NtupleReference(gs::AbsArchive &,unsigned long long const)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< double > >::NtupleReference(gs::AbsArchive &,char const *,char const *)\n"
" npstat::NtupleReference< npstat::ArchivedNtuple< double > >::NtupleReference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_Ref_DoubleArchivedNtuple(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< double > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_DoubleArchivedNtuple" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< double > > *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_DoubleArchivedNtuple_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::NtupleReference< npstat::ArchivedNtuple< double > > *arg1 = (npstat::NtupleReference< npstat::ArchivedNtuple< double > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArchivedNtuple< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_DoubleArchivedNtuple_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_DoubleArchivedNtuple_retrieve" "', argument " "1"" of type '" "npstat::NtupleReference< npstat::ArchivedNtuple< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::NtupleReference< npstat::ArchivedNtuple< double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_DoubleArchivedNtuple_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ArchivedNtuple< double > *)npstat_NtupleReference_Sl_npstat_ArchivedNtuple_Sl_double_Sg__Sg__retrieve((npstat::NtupleReference< npstat::ArchivedNtuple< double > > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArchivedNtupleT_double_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_DoubleArchivedNtuple_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__NtupleReferenceT_npstat__ArchivedNtupleT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_DoubleArchivedNtuple_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_unbinnedLogLikelihood1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned long arg2 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "unbinnedLogLikelihood1D", 3, 3, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "unbinnedLogLikelihood1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "unbinnedLogLikelihood1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "unbinnedLogLikelihood1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)npstat::unbinnedLogLikelihood1D_2((double const *)arg1,arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >((npstat::HistoND< double,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >((npstat::HistoND< float,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >((npstat::HistoND< int,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >((npstat::HistoND< long,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_22(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_23(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_24(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_25(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_26(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_27(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >((npstat::HistoND< double,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_28(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_29(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_30(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_31(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >((npstat::HistoND< float,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_32(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_33(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_34(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_35(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >((npstat::HistoND< int,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_36(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_37(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_38(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_39(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >((npstat::HistoND< long,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_40(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_41(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_42(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_43(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >((npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_44(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_45(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_46(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_47(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >((npstat::HistoND< double,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_48(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_49(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_50(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_51(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >((npstat::HistoND< float,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_52(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_53(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_54(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_55(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >((npstat::HistoND< int,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_56(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_57(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_58(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_59(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >((npstat::HistoND< long,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_60(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
double *arg10 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[7], &argp10,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "densityFitLogLikelihood1D" "', argument " "10"" of type '" "double *""'");
}
arg10 = reinterpret_cast< double * >(argp10);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_61(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
double *arg9 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "densityFitLogLikelihood1D" "', argument " "9"" of type '" "double *""'");
}
arg9 = reinterpret_cast< double * >(argp9);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_62(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
unsigned int val8 ;
int ecode8 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "densityFitLogLikelihood1D" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D__SWIG_63(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
double arg5 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UBYTE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned char*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "densityFitLogLikelihood1D" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "densityFitLogLikelihood1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >((npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &)*arg1,(unsigned char const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_densityFitLogLikelihood1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[9] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "densityFitLogLikelihood1D", 0, 8, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_7(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_7(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_11(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_11(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_15(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_15(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_19(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_19(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_23(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_23(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_27(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_27(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_31(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_31(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_35(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_35(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_39(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_39(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_43(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_43(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_47(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_47(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_51(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_51(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_55(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_55(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_59(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_59(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
if (argc <= 5) {
return _wrap_densityFitLogLikelihood1D__SWIG_63(self, argc, argv);
}
return _wrap_densityFitLogLikelihood1D__SWIG_63(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_38(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_22(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_42(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_14(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_46(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_26(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_50(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_54(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_30(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_58(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_18(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_62(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_34(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_45(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_33(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_49(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_17(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_25(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_53(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_37(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_13(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_57(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_41(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_61(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_29(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_21(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_28(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_52(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_40(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_24(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_32(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_56(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_12(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_44(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_20(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_60(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_16(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_36(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[4]) && PyArray_EquivTypenums(array_type(argv[4]),
NPY_DOUBLE);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[7], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_densityFitLogLikelihood1D__SWIG_48(self, argc, argv);
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'densityFitLogLikelihood1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int,double *)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int,unsigned int)\n"
" npstat::densityFitLogLikelihood1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > const &,unsigned char const *,unsigned int,npstat::AbsDistribution1D const &,double,double *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DCVResult__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::LOrPE1DCVResult *)new npstat::LOrPE1DCVResult();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVResult, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DCVResult__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
bool arg4 ;
bool arg5 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::LOrPE1DCVResult *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPE1DCVResult" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPE1DCVResult" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPE1DCVResult" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPE1DCVResult" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LOrPE1DCVResult" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::LOrPE1DCVResult *)new npstat::LOrPE1DCVResult(arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DCVResult, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DCVResult(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LOrPE1DCVResult", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_LOrPE1DCVResult__SWIG_0(self, argc, argv);
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LOrPE1DCVResult__SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LOrPE1DCVResult'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DCVResult::LOrPE1DCVResult()\n"
" npstat::LOrPE1DCVResult::LOrPE1DCVResult(double const,double const,double const,bool const,bool const)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_setDegreeBoundaryFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DCVResult_setDegreeBoundaryFlag", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_setDegreeBoundaryFlag" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DCVResult_setDegreeBoundaryFlag" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->setDegreeBoundaryFlag(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_filterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_filterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVResult const *)arg1)->filterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_bwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_bwFactor" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVResult const *)arg1)->bwFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_cvFunction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_cvFunction" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DCVResult const *)arg1)->cvFunction();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_isOnDegreeBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_isOnDegreeBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVResult const *)arg1)->isOnDegreeBoundary();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_isOnBandwidthBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_isOnBandwidthBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVResult const *)arg1)->isOnBandwidthBoundary();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DCVResult_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DCVResult_isValid" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DCVResult const *)arg1)->isValid();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPE1DCVResult(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DCVResult *arg1 = (npstat::LOrPE1DCVResult *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DCVResult, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPE1DCVResult" "', argument " "1"" of type '" "npstat::LOrPE1DCVResult *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DCVResult * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPE1DCVResult_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DCVResult, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPE1DCVResult_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DFixedDegreeCVPicker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
unsigned int arg4 ;
double arg5 ;
unsigned int arg6 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
npstat::LOrPE1DFixedDegreeCVPicker *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPE1DFixedDegreeCVPicker", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPE1DFixedDegreeCVPicker" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPE1DFixedDegreeCVPicker" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPE1DFixedDegreeCVPicker" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPE1DFixedDegreeCVPicker" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LOrPE1DFixedDegreeCVPicker" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_LOrPE1DFixedDegreeCVPicker" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::LOrPE1DFixedDegreeCVPicker *)new npstat::LOrPE1DFixedDegreeCVPicker(arg1,arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DFixedDegreeCVPicker_nBwFactors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVPicker *arg1 = (npstat::LOrPE1DFixedDegreeCVPicker *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DFixedDegreeCVPicker_nBwFactors" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(argp1);
{
try {
result = (unsigned int)((npstat::LOrPE1DFixedDegreeCVPicker const *)arg1)->nBwFactors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DFixedDegreeCVPicker_getBwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVPicker *arg1 = (npstat::LOrPE1DFixedDegreeCVPicker *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DFixedDegreeCVPicker_getBwFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DFixedDegreeCVPicker_getBwFactor" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DFixedDegreeCVPicker_getBwFactor" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LOrPE1DFixedDegreeCVPicker const *)arg1)->getBwFactor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DFixedDegreeCVPicker_searchStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVPicker *arg1 = (npstat::LOrPE1DFixedDegreeCVPicker *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DFixedDegreeCVPicker_searchStart" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DFixedDegreeCVPicker const *)arg1)->searchStart();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPE1DFixedDegreeCVPicker(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVPicker *arg1 = (npstat::LOrPE1DFixedDegreeCVPicker *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPE1DFixedDegreeCVPicker" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVPicker *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVPicker * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPE1DFixedDegreeCVPicker_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVPicker, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPE1DFixedDegreeCVPicker_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ScalableGaussND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::ScalableGaussND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScalableGaussND" "', argument " "1"" of type '" "double const *""'");
}
arg1 = reinterpret_cast< double * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ScalableGaussND" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ScalableGaussND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::ScalableGaussND *)new npstat::ScalableGaussND((double const *)arg1,(double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableGaussND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ScalableGaussND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableGaussND *arg1 = (npstat::ScalableGaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableGaussND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScalableGaussND" "', argument " "1"" of type '" "npstat::ScalableGaussND *""'");
}
arg1 = reinterpret_cast< npstat::ScalableGaussND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableGaussND *arg1 = (npstat::ScalableGaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ScalableGaussND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableGaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableGaussND_clone" "', argument " "1"" of type '" "npstat::ScalableGaussND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableGaussND * >(argp1);
{
try {
result = (npstat::ScalableGaussND *)((npstat::ScalableGaussND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableGaussND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableGaussND *arg1 = (npstat::ScalableGaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableGaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableGaussND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::ScalableGaussND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableGaussND * >(argp1);
{
try {
result = (bool)((npstat::ScalableGaussND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableGaussND *arg1 = (npstat::ScalableGaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableGaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableGaussND_classId" "', argument " "1"" of type '" "npstat::ScalableGaussND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableGaussND * >(argp1);
{
try {
result = ((npstat::ScalableGaussND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableGaussND *arg1 = (npstat::ScalableGaussND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ScalableGaussND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableGaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableGaussND_write" "', argument " "1"" of type '" "npstat::ScalableGaussND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableGaussND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScalableGaussND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableGaussND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ScalableGaussND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ScalableGaussND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ScalableGaussND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ScalableGaussND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ScalableGaussND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableGaussND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ScalableGaussND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ScalableGaussND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableGaussND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableGaussND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScalableGaussND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableGaussND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ScalableGaussND *)npstat::ScalableGaussND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableGaussND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ScalableGaussND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
npstat::ScalableGaussND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
try {
result = (npstat::ScalableGaussND *)new npstat::ScalableGaussND((double const *)arg1,arg2,(double const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableGaussND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ScalableGaussND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ScalableGaussND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_new_ScalableGaussND__SWIG_1(self, argc, argv);
}
return _wrap_new_ScalableGaussND__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ScalableGaussND__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ScalableGaussND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ScalableGaussND::ScalableGaussND(double const *,double const *,unsigned int)\n"
" npstat::ScalableGaussND::ScalableGaussND(double const *,unsigned int,double const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *ScalableGaussND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ScalableGaussND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ScalableGaussND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LOrPEMarginalSmoother__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
double arg5 ;
double arg6 ;
npstat::BoundaryHandling *arg7 = 0 ;
char *arg8 = (char *) 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
int res8 ;
char *buf8 = 0 ;
int alloc8 = 0 ;
npstat::LOrPEMarginalSmoother *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPEMarginalSmoother" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPEMarginalSmoother" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPEMarginalSmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPEMarginalSmoother" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LOrPEMarginalSmoother" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_LOrPEMarginalSmoother" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_LOrPEMarginalSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPEMarginalSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
arg7 = reinterpret_cast< npstat::BoundaryHandling * >(argp7);
res8 = SWIG_AsCharPtrAndSize(swig_obj[7], &buf8, NULL, &alloc8);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_LOrPEMarginalSmoother" "', argument " "8"" of type '" "char const *""'");
}
arg8 = reinterpret_cast< char * >(buf8);
{
try {
result = (npstat::LOrPEMarginalSmoother *)new npstat::LOrPEMarginalSmoother(arg1,arg2,arg3,arg4,arg5,arg6,(npstat::BoundaryHandling const &)*arg7,(char const *)arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPEMarginalSmoother, SWIG_POINTER_NEW | 0 );
if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
return resultobj;
fail:
if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPEMarginalSmoother__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
double arg5 ;
double arg6 ;
npstat::BoundaryHandling *arg7 = 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
npstat::LOrPEMarginalSmoother *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPEMarginalSmoother" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPEMarginalSmoother" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPEMarginalSmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPEMarginalSmoother" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LOrPEMarginalSmoother" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_LOrPEMarginalSmoother" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_LOrPEMarginalSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPEMarginalSmoother" "', argument " "7"" of type '" "npstat::BoundaryHandling const &""'");
}
arg7 = reinterpret_cast< npstat::BoundaryHandling * >(argp7);
{
try {
result = (npstat::LOrPEMarginalSmoother *)new npstat::LOrPEMarginalSmoother(arg1,arg2,arg3,arg4,arg5,arg6,(npstat::BoundaryHandling const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPEMarginalSmoother, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPEMarginalSmoother(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[9] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LOrPEMarginalSmoother", 0, 8, argv))) SWIG_fail;
--argc;
if (argc == 7) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LOrPEMarginalSmoother__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[7], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LOrPEMarginalSmoother__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LOrPEMarginalSmoother'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPEMarginalSmoother::LOrPEMarginalSmoother(unsigned int,double,double,int,double,double,npstat::BoundaryHandling const &,char const *)\n"
" npstat::LOrPEMarginalSmoother::LOrPEMarginalSmoother(unsigned int,double,double,int,double,double,npstat::BoundaryHandling const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LOrPEMarginalSmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEMarginalSmoother *arg1 = (npstat::LOrPEMarginalSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEMarginalSmoother, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPEMarginalSmoother" "', argument " "1"" of type '" "npstat::LOrPEMarginalSmoother *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEMarginalSmoother * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEMarginalSmoother_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEMarginalSmoother *arg1 = (npstat::LOrPEMarginalSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEMarginalSmoother, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEMarginalSmoother_symbetaPower" "', argument " "1"" of type '" "npstat::LOrPEMarginalSmoother const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEMarginalSmoother * >(argp1);
{
try {
result = (int)((npstat::LOrPEMarginalSmoother const *)arg1)->symbetaPower();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEMarginalSmoother_bwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEMarginalSmoother *arg1 = (npstat::LOrPEMarginalSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEMarginalSmoother, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEMarginalSmoother_bwFactor" "', argument " "1"" of type '" "npstat::LOrPEMarginalSmoother const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEMarginalSmoother * >(argp1);
{
try {
result = (double)((npstat::LOrPEMarginalSmoother const *)arg1)->bwFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEMarginalSmoother_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEMarginalSmoother *arg1 = (npstat::LOrPEMarginalSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEMarginalSmoother, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEMarginalSmoother_polyDegree" "', argument " "1"" of type '" "npstat::LOrPEMarginalSmoother const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEMarginalSmoother * >(argp1);
{
try {
result = (double)((npstat::LOrPEMarginalSmoother const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEMarginalSmoother_boundaryMethod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEMarginalSmoother *arg1 = (npstat::LOrPEMarginalSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoundaryHandling *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEMarginalSmoother, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEMarginalSmoother_boundaryMethod" "', argument " "1"" of type '" "npstat::LOrPEMarginalSmoother const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEMarginalSmoother * >(argp1);
{
try {
result = (npstat::BoundaryHandling *) &((npstat::LOrPEMarginalSmoother const *)arg1)->boundaryMethod();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPEMarginalSmoother_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPEMarginalSmoother, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPEMarginalSmoother_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsInterpolationAlgoND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsInterpolationAlgoND" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsInterpolationAlgoND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_clone" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
{
try {
result = (npstat::AbsInterpolationAlgoND *)((npstat::AbsInterpolationAlgoND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsInterpolationAlgoND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_size" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
{
try {
result = (unsigned int)((npstat::AbsInterpolationAlgoND const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolationAlgoND_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_add" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsInterpolationAlgoND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsInterpolationAlgoND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsInterpolationAlgoND_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->add((npstat::AbsDistributionND const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
unsigned int arg2 ;
npstat::AbsDistributionND *arg3 = 0 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolationAlgoND_replace", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_replace" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsInterpolationAlgoND_replace" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsInterpolationAlgoND_replace" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsInterpolationAlgoND_replace" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsInterpolationAlgoND_replace" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->replace(arg2,(npstat::AbsDistributionND const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_setWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolationAlgoND_setWeight", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_setWeight" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsInterpolationAlgoND_setWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsInterpolationAlgoND_setWeight" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setWeight(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_clear" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolationAlgoND_normalizeAutomatically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolationAlgoND *arg1 = (npstat::AbsInterpolationAlgoND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolationAlgoND_normalizeAutomatically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolationAlgoND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolationAlgoND_normalizeAutomatically" "', argument " "1"" of type '" "npstat::AbsInterpolationAlgoND *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolationAlgoND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsInterpolationAlgoND_normalizeAutomatically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->normalizeAutomatically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AbsInterpolationAlgoND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsInterpolationAlgoND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_GridInterpolatedDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > *arg1 = 0 ;
unsigned int arg2 ;
bool arg3 ;
bool arg4 ;
int res1 = SWIG_OLDOBJ ;
unsigned int val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > *ptr = (std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridInterpolatedDistribution" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridInterpolatedDistribution" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GridInterpolatedDistribution" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridInterpolatedDistribution" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GridInterpolatedDistribution" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (npstat::GridInterpolatedDistribution *)new npstat::GridInterpolatedDistribution((std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &)*arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridInterpolatedDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > *arg1 = 0 ;
unsigned int arg2 ;
bool arg3 ;
int res1 = SWIG_OLDOBJ ;
unsigned int val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > *ptr = (std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridInterpolatedDistribution" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridInterpolatedDistribution" "', argument " "1"" of type '" "std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GridInterpolatedDistribution" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridInterpolatedDistribution" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::GridInterpolatedDistribution *)new npstat::GridInterpolatedDistribution((std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &)*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridInterpolatedDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::GridInterpolatedDistribution *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridInterpolatedDistribution" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridInterpolatedDistribution" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (npstat::GridInterpolatedDistribution *)new npstat::GridInterpolatedDistribution((npstat::GridInterpolatedDistribution const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridInterpolatedDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_GridInterpolatedDistribution", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GridInterpolatedDistribution__SWIG_2(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridInterpolatedDistribution__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridInterpolatedDistribution__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_GridInterpolatedDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::GridInterpolatedDistribution::GridInterpolatedDistribution(std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &,unsigned int,bool,bool)\n"
" npstat::GridInterpolatedDistribution::GridInterpolatedDistribution(std::vector< npstat::GridAxis,std::allocator< npstat::GridAxis > > const &,unsigned int,bool)\n"
" npstat::GridInterpolatedDistribution::GridInterpolatedDistribution(npstat::GridInterpolatedDistribution const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_GridInterpolatedDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GridInterpolatedDistribution" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::GridInterpolatedDistribution *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_clone" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (npstat::GridInterpolatedDistribution *)((npstat::GridInterpolatedDistribution const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_getGridDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDistributionND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_getGridDistro", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_getGridDistro" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UINT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned int*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (npstat::AbsDistributionND *)((npstat::GridInterpolatedDistribution const *)arg1)->getGridDistro((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0 );
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_getLinearDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDistributionND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_getLinearDistro", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_getLinearDistro" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_getLinearDistro" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::AbsDistributionND *)((npstat::GridInterpolatedDistribution const *)arg1)->getLinearDistro(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_setGridCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_setGridCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_setGridCoords" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->setGridCoords((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_interpolateCopulas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_interpolateCopulas", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_interpolateCopulas" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_interpolateCopulas" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->interpolateCopulas(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_useSingleCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_useSingleCell", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_useSingleCell" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_useSingleCell" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useSingleCell(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_nAxes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_nAxes" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (unsigned int)((npstat::GridInterpolatedDistribution const *)arg1)->nAxes();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_getAxis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GridAxis *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_getAxis", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_getAxis" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_getAxis" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::GridAxis *) &((npstat::GridInterpolatedDistribution const *)arg1)->getAxis(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridAxis, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_nDistros(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_nDistros" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (unsigned long)((npstat::GridInterpolatedDistribution const *)arg1)->nDistros();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_gridShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayShape result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_gridShape" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = ((npstat::GridInterpolatedDistribution const *)arg1)->gridShape();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_interpolatingCopulas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_interpolatingCopulas" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (bool)((npstat::GridInterpolatedDistribution const *)arg1)->interpolatingCopulas();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_usingSingleCell(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_usingSingleCell" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (bool)((npstat::GridInterpolatedDistribution const *)arg1)->usingSingleCell();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_density" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_unitMap" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridInterpolatedDistribution_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridInterpolatedDistribution_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GridInterpolatedDistribution_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::GridInterpolatedDistribution const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_mappedByQuantiles" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = (bool)((npstat::GridInterpolatedDistribution const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_marginalDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_marginalDensity", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_marginalDensity" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_marginalDensity" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridInterpolatedDistribution_marginalDensity" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->marginalDensity(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_marginalCdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_marginalCdf", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_marginalCdf" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_marginalCdf" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridInterpolatedDistribution_marginalCdf" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->marginalCdf(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_marginalExceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_marginalExceedance", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_marginalExceedance" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_marginalExceedance" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridInterpolatedDistribution_marginalExceedance" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->marginalExceedance(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_marginalQuantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_marginalQuantile", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_marginalQuantile" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_marginalQuantile" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridInterpolatedDistribution_marginalQuantile" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->marginalQuantile(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_copulaDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_copulaDensity", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_copulaDensity" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->copulaDensity((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_productOfTheMarginals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_productOfTheMarginals", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_productOfTheMarginals" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::GridInterpolatedDistribution const *)arg1)->productOfTheMarginals((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_classId" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
try {
result = ((npstat::GridInterpolatedDistribution const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_write" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridInterpolatedDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridInterpolatedDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::GridInterpolatedDistribution const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::GridInterpolatedDistribution::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::GridInterpolatedDistribution::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GridInterpolatedDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridInterpolatedDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridInterpolatedDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridInterpolatedDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::GridInterpolatedDistribution *)npstat::GridInterpolatedDistribution::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_setGridDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::AbsDistributionND *arg4 = (npstat::AbsDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_setGridDistro", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_setGridDistro" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UINT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (unsigned int*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4,SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GridInterpolatedDistribution_setGridDistro" "', argument " "4"" of type '" "npstat::AbsDistributionND *""'");
}
arg4 = reinterpret_cast< npstat::AbsDistributionND * >(argp4);
{
try {
(arg1)->setGridDistro_2((unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GridInterpolatedDistribution_setLinearDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = (npstat::GridInterpolatedDistribution *) 0 ;
unsigned long arg2 ;
npstat::AbsDistributionND *arg3 = (npstat::AbsDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "GridInterpolatedDistribution_setLinearDistro", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridInterpolatedDistribution_setLinearDistro" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GridInterpolatedDistribution_setLinearDistro" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GridInterpolatedDistribution_setLinearDistro" "', argument " "3"" of type '" "npstat::AbsDistributionND *""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
{
try {
(arg1)->setLinearDistro_2(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GridInterpolatedDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GridInterpolatedDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_GridInterpolatedDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::GridInterpolatedDistribution > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_GridInterpolatedDistribution", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_GridInterpolatedDistribution" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_GridInterpolatedDistribution" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_GridInterpolatedDistribution" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_GridInterpolatedDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::GridInterpolatedDistribution > *)new gs::ArchiveRecord< npstat::GridInterpolatedDistribution >((npstat::GridInterpolatedDistribution const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_GridInterpolatedDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::GridInterpolatedDistribution > *arg1 = (gs::ArchiveRecord< npstat::GridInterpolatedDistribution > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::GridInterpolatedDistribution > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::GridInterpolatedDistribution > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_GridInterpolatedDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__GridInterpolatedDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_GridInterpolatedDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_100(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridInterpolatedDistribution *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::GridInterpolatedDistribution > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::GridInterpolatedDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::GridInterpolatedDistribution >((npstat::GridInterpolatedDistribution const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::GridInterpolatedDistribution >(static_cast< const gs::ArchiveRecord< npstat::GridInterpolatedDistribution >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GridInterpolatedDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::GridInterpolatedDistribution > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::GridInterpolatedDistribution > *)new gs::Reference< npstat::GridInterpolatedDistribution >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GridInterpolatedDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::GridInterpolatedDistribution > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::GridInterpolatedDistribution > *)new gs::Reference< npstat::GridInterpolatedDistribution >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GridInterpolatedDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::GridInterpolatedDistribution > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GridInterpolatedDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::GridInterpolatedDistribution > *)new gs::Reference< npstat::GridInterpolatedDistribution >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GridInterpolatedDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_GridInterpolatedDistribution", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_GridInterpolatedDistribution__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_GridInterpolatedDistribution__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_GridInterpolatedDistribution__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_GridInterpolatedDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::GridInterpolatedDistribution >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::GridInterpolatedDistribution >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::GridInterpolatedDistribution >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_GridInterpolatedDistribution_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GridInterpolatedDistribution > *arg1 = (gs::Reference< npstat::GridInterpolatedDistribution > *) 0 ;
unsigned long arg2 ;
npstat::GridInterpolatedDistribution *arg3 = (npstat::GridInterpolatedDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_GridInterpolatedDistribution_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_GridInterpolatedDistribution_restore" "', argument " "1"" of type '" "gs::Reference< npstat::GridInterpolatedDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GridInterpolatedDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_GridInterpolatedDistribution_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__GridInterpolatedDistribution, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_GridInterpolatedDistribution_restore" "', argument " "3"" of type '" "npstat::GridInterpolatedDistribution *""'");
}
arg3 = reinterpret_cast< npstat::GridInterpolatedDistribution * >(argp3);
{
try {
((gs::Reference< npstat::GridInterpolatedDistribution > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_GridInterpolatedDistribution_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GridInterpolatedDistribution > *arg1 = (gs::Reference< npstat::GridInterpolatedDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GridInterpolatedDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_GridInterpolatedDistribution_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_GridInterpolatedDistribution_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::GridInterpolatedDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GridInterpolatedDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_GridInterpolatedDistribution_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::GridInterpolatedDistribution *)gs_Reference_Sl_npstat_GridInterpolatedDistribution_Sg__retrieve((gs::Reference< npstat::GridInterpolatedDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_GridInterpolatedDistribution_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GridInterpolatedDistribution > *arg1 = (gs::Reference< npstat::GridInterpolatedDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::GridInterpolatedDistribution > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_GridInterpolatedDistribution_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_GridInterpolatedDistribution_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::GridInterpolatedDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GridInterpolatedDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_GridInterpolatedDistribution_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_GridInterpolatedDistribution_Sg__getValue((gs::Reference< npstat::GridInterpolatedDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::GridInterpolatedDistribution(static_cast< const npstat::GridInterpolatedDistribution& >(result))), SWIGTYPE_p_npstat__GridInterpolatedDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_GridInterpolatedDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GridInterpolatedDistribution > *arg1 = (gs::Reference< npstat::GridInterpolatedDistribution > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_GridInterpolatedDistribution" "', argument " "1"" of type '" "gs::Reference< npstat::GridInterpolatedDistribution > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GridInterpolatedDistribution > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_GridInterpolatedDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__GridInterpolatedDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_GridInterpolatedDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsDistributionTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistributionTransform1D" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistributionTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_clone" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
result = (npstat::AbsDistributionTransform1D *)((npstat::AbsDistributionTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_nParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_nParameters" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
result = (unsigned int)((npstat::AbsDistributionTransform1D const *)arg1)->nParameters();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_setParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_setParameter", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_setParameter" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistributionTransform1D_setParameter" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsDistributionTransform1D_setParameter" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setParameter(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_setAllParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_setAllParameters", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_setAllParameters" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->setAllParameters((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_getParameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_getParameter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_getParameter" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistributionTransform1D_getParameter" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::AbsDistributionTransform1D const *)arg1)->getParameter(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_transformBack" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistributionTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AbsDistributionTransform1D const *)arg1)->transformBack(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
result = (bool)((npstat::AbsDistributionTransform1D const *)arg1)->isIncreasing();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
npstat::AbsDistributionTransform1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D___eq__" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDistributionTransform1D___eq__" "', argument " "2"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistributionTransform1D___eq__" "', argument " "2"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp2);
{
try {
result = (bool)((npstat::AbsDistributionTransform1D const *)arg1)->operator ==((npstat::AbsDistributionTransform1D const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
npstat::AbsDistributionTransform1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D___ne__" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDistributionTransform1D___ne__" "', argument " "2"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistributionTransform1D___ne__" "', argument " "2"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp2);
{
try {
result = (bool)((npstat::AbsDistributionTransform1D const *)arg1)->operator !=((npstat::AbsDistributionTransform1D const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_classId" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
result = ((npstat::AbsDistributionTransform1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_write" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDistributionTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistributionTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::AbsDistributionTransform1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::AbsDistributionTransform1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::AbsDistributionTransform1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDistributionTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistributionTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsDistributionTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistributionTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::AbsDistributionTransform1D *)npstat::AbsDistributionTransform1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistributionTransform1D_transformForward(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = (npstat::AbsDistributionTransform1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::pair< double,double > result;
if (!SWIG_Python_UnpackTuple(args, "AbsDistributionTransform1D_transformForward", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistributionTransform1D_transformForward" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistributionTransform1D_transformForward" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::AbsDistributionTransform1D const *)arg1)->transformForward2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AbsDistributionTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistributionTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ForwardDistroTransform1DFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ForwardDistroTransform1DFunctor *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ForwardDistroTransform1DFunctor" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ForwardDistroTransform1DFunctor" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
result = (npstat::ForwardDistroTransform1DFunctor *)new npstat::ForwardDistroTransform1DFunctor((npstat::AbsDistributionTransform1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ForwardDistroTransform1DFunctor, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ForwardDistroTransform1DFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ForwardDistroTransform1DFunctor *arg1 = (npstat::ForwardDistroTransform1DFunctor *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ForwardDistroTransform1DFunctor, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ForwardDistroTransform1DFunctor" "', argument " "1"" of type '" "npstat::ForwardDistroTransform1DFunctor *""'");
}
arg1 = reinterpret_cast< npstat::ForwardDistroTransform1DFunctor * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ForwardDistroTransform1DFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ForwardDistroTransform1DFunctor *arg1 = (npstat::ForwardDistroTransform1DFunctor *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "ForwardDistroTransform1DFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ForwardDistroTransform1DFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ForwardDistroTransform1DFunctor___call__" "', argument " "1"" of type '" "npstat::ForwardDistroTransform1DFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::ForwardDistroTransform1DFunctor * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ForwardDistroTransform1DFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::ForwardDistroTransform1DFunctor const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ForwardDistroTransform1DFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ForwardDistroTransform1DFunctor, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ForwardDistroTransform1DFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_BackDistroTransform1DFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BackDistroTransform1DFunctor *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BackDistroTransform1DFunctor" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BackDistroTransform1DFunctor" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
{
try {
result = (npstat::BackDistroTransform1DFunctor *)new npstat::BackDistroTransform1DFunctor((npstat::AbsDistributionTransform1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BackDistroTransform1DFunctor, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_BackDistroTransform1DFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BackDistroTransform1DFunctor *arg1 = (npstat::BackDistroTransform1DFunctor *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BackDistroTransform1DFunctor, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BackDistroTransform1DFunctor" "', argument " "1"" of type '" "npstat::BackDistroTransform1DFunctor *""'");
}
arg1 = reinterpret_cast< npstat::BackDistroTransform1DFunctor * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BackDistroTransform1DFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BackDistroTransform1DFunctor *arg1 = (npstat::BackDistroTransform1DFunctor *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "BackDistroTransform1DFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BackDistroTransform1DFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BackDistroTransform1DFunctor___call__" "', argument " "1"" of type '" "npstat::BackDistroTransform1DFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::BackDistroTransform1DFunctor * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BackDistroTransform1DFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::BackDistroTransform1DFunctor const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *BackDistroTransform1DFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BackDistroTransform1DFunctor, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *BackDistroTransform1DFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_TransformedFunctor1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::Functor1< double,double > *arg1 = 0 ;
npstat::AbsDistributionTransform1D *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::TransformedFunctor1 *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_TransformedFunctor1", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TransformedFunctor1" "', argument " "1"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TransformedFunctor1" "', argument " "1"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg1 = reinterpret_cast< npstat::Functor1< double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TransformedFunctor1" "', argument " "2"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TransformedFunctor1" "', argument " "2"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TransformedFunctor1" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::TransformedFunctor1 *)new npstat::TransformedFunctor1((npstat::Functor1< double,double > const &)*arg1,(npstat::AbsDistributionTransform1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__TransformedFunctor1, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_TransformedFunctor1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedFunctor1 *arg1 = (npstat::TransformedFunctor1 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedFunctor1, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TransformedFunctor1" "', argument " "1"" of type '" "npstat::TransformedFunctor1 *""'");
}
arg1 = reinterpret_cast< npstat::TransformedFunctor1 * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_TransformedFunctor1___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::TransformedFunctor1 *arg1 = (npstat::TransformedFunctor1 *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "TransformedFunctor1___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__TransformedFunctor1, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TransformedFunctor1___call__" "', argument " "1"" of type '" "npstat::TransformedFunctor1 const *""'");
}
arg1 = reinterpret_cast< npstat::TransformedFunctor1 * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TransformedFunctor1___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::TransformedFunctor1 const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *TransformedFunctor1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__TransformedFunctor1, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *TransformedFunctor1_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_AbsDistributionTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::AbsDistributionTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_AbsDistributionTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_AbsDistributionTransform1D" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_AbsDistributionTransform1D" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_AbsDistributionTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_AbsDistributionTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::AbsDistributionTransform1D > *)new gs::ArchiveRecord< npstat::AbsDistributionTransform1D >((npstat::AbsDistributionTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_AbsDistributionTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::AbsDistributionTransform1D > *arg1 = (gs::ArchiveRecord< npstat::AbsDistributionTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::AbsDistributionTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::AbsDistributionTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_AbsDistributionTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__AbsDistributionTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_AbsDistributionTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_101(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistributionTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::AbsDistributionTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::AbsDistributionTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::AbsDistributionTransform1D >((npstat::AbsDistributionTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::AbsDistributionTransform1D >(static_cast< const gs::ArchiveRecord< npstat::AbsDistributionTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AbsDistributionTransform1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::AbsDistributionTransform1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::AbsDistributionTransform1D > *)new gs::Reference< npstat::AbsDistributionTransform1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AbsDistributionTransform1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::AbsDistributionTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::AbsDistributionTransform1D > *)new gs::Reference< npstat::AbsDistributionTransform1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AbsDistributionTransform1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::AbsDistributionTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_AbsDistributionTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::AbsDistributionTransform1D > *)new gs::Reference< npstat::AbsDistributionTransform1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_AbsDistributionTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_AbsDistributionTransform1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_AbsDistributionTransform1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_AbsDistributionTransform1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_AbsDistributionTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_AbsDistributionTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::AbsDistributionTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::AbsDistributionTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::AbsDistributionTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_AbsDistributionTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AbsDistributionTransform1D > *arg1 = (gs::Reference< npstat::AbsDistributionTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::AbsDistributionTransform1D *arg3 = (npstat::AbsDistributionTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_AbsDistributionTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AbsDistributionTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::AbsDistributionTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AbsDistributionTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AbsDistributionTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__AbsDistributionTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_AbsDistributionTransform1D_restore" "', argument " "3"" of type '" "npstat::AbsDistributionTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::AbsDistributionTransform1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_AbsDistributionTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AbsDistributionTransform1D > *arg1 = (gs::Reference< npstat::AbsDistributionTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDistributionTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_AbsDistributionTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_AbsDistributionTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::AbsDistributionTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AbsDistributionTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_AbsDistributionTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::AbsDistributionTransform1D *)gs_Reference_Sl_npstat_AbsDistributionTransform1D_Sg__retrieve((gs::Reference< npstat::AbsDistributionTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistributionTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_AbsDistributionTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::AbsDistributionTransform1D > *arg1 = (gs::Reference< npstat::AbsDistributionTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_AbsDistributionTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::AbsDistributionTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::AbsDistributionTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_AbsDistributionTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__AbsDistributionTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_AbsDistributionTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_IdentityTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = (npstat::IdentityTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__IdentityTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IdentityTransform1D" "', argument " "1"" of type '" "npstat::IdentityTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = (npstat::IdentityTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::IdentityTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityTransform1D_clone" "', argument " "1"" of type '" "npstat::IdentityTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
{
try {
result = (npstat::IdentityTransform1D *)((npstat::IdentityTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__IdentityTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = (npstat::IdentityTransform1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "IdentityTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityTransform1D_transformBack" "', argument " "1"" of type '" "npstat::IdentityTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IdentityTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::IdentityTransform1D const *)arg1)->transformBack(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = (npstat::IdentityTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::IdentityTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
{
try {
result = (bool)((npstat::IdentityTransform1D const *)arg1)->isIncreasing();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = (npstat::IdentityTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityTransform1D_classId" "', argument " "1"" of type '" "npstat::IdentityTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
{
try {
result = ((npstat::IdentityTransform1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = (npstat::IdentityTransform1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "IdentityTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityTransform1D_write" "', argument " "1"" of type '" "npstat::IdentityTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IdentityTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::IdentityTransform1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "IdentityTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::IdentityTransform1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "IdentityTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::IdentityTransform1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IdentityTransform1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::IdentityTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "IdentityTransform1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IdentityTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IdentityTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IdentityTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::IdentityTransform1D *)npstat::IdentityTransform1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__IdentityTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IdentityTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__IdentityTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_IdentityTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::IdentityTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_IdentityTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_IdentityTransform1D" "', argument " "1"" of type '" "npstat::IdentityTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_IdentityTransform1D" "', argument " "1"" of type '" "npstat::IdentityTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_IdentityTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_IdentityTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::IdentityTransform1D > *)new gs::ArchiveRecord< npstat::IdentityTransform1D >((npstat::IdentityTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__IdentityTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_IdentityTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::IdentityTransform1D > *arg1 = (gs::ArchiveRecord< npstat::IdentityTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__IdentityTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_IdentityTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::IdentityTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::IdentityTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_IdentityTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__IdentityTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_IdentityTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_102(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::IdentityTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::IdentityTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::IdentityTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::IdentityTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::IdentityTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::IdentityTransform1D >((npstat::IdentityTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::IdentityTransform1D >(static_cast< const gs::ArchiveRecord< npstat::IdentityTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__IdentityTransform1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IdentityTransform1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::IdentityTransform1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_IdentityTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::IdentityTransform1D > *)new gs::Reference< npstat::IdentityTransform1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IdentityTransform1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::IdentityTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_IdentityTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_IdentityTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::IdentityTransform1D > *)new gs::Reference< npstat::IdentityTransform1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IdentityTransform1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::IdentityTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_IdentityTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IdentityTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_IdentityTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_IdentityTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::IdentityTransform1D > *)new gs::Reference< npstat::IdentityTransform1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_IdentityTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_IdentityTransform1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_IdentityTransform1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_IdentityTransform1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_IdentityTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_IdentityTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::IdentityTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::IdentityTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::IdentityTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_IdentityTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::IdentityTransform1D > *arg1 = (gs::Reference< npstat::IdentityTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::IdentityTransform1D *arg3 = (npstat::IdentityTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_IdentityTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IdentityTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::IdentityTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::IdentityTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_IdentityTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__IdentityTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_IdentityTransform1D_restore" "', argument " "3"" of type '" "npstat::IdentityTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::IdentityTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::IdentityTransform1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_IdentityTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::IdentityTransform1D > *arg1 = (gs::Reference< npstat::IdentityTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::IdentityTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_IdentityTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IdentityTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::IdentityTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::IdentityTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_IdentityTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::IdentityTransform1D *)gs_Reference_Sl_npstat_IdentityTransform1D_Sg__retrieve((gs::Reference< npstat::IdentityTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__IdentityTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_IdentityTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::IdentityTransform1D > *arg1 = (gs::Reference< npstat::IdentityTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::IdentityTransform1D result;
if (!SWIG_Python_UnpackTuple(args, "Ref_IdentityTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_IdentityTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::IdentityTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::IdentityTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_IdentityTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_IdentityTransform1D_Sg__getValue((gs::Reference< npstat::IdentityTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::IdentityTransform1D(static_cast< const npstat::IdentityTransform1D& >(result))), SWIGTYPE_p_npstat__IdentityTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_IdentityTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::IdentityTransform1D > *arg1 = (gs::Reference< npstat::IdentityTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_IdentityTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::IdentityTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::IdentityTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_IdentityTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__IdentityTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_IdentityTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_CVCopulaSmoother0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND > *arg1 = (npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CVCopulaSmootherT_npstat__SequentialPolyFilterND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CVCopulaSmoother0" "', argument " "1"" of type '" "npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND > *""'");
}
arg1 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CVCopulaSmoother0_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CVCopulaSmootherT_npstat__SequentialPolyFilterND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_CVCopulaSmoother1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CVCopulaSmoother< npstat::KDEFilterND< 10U > > *arg1 = (npstat::CVCopulaSmoother< npstat::KDEFilterND< 10U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CVCopulaSmootherT_npstat__KDEFilterNDT_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CVCopulaSmoother1" "', argument " "1"" of type '" "npstat::CVCopulaSmoother< npstat::KDEFilterND< 10U > > *""'");
}
arg1 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::KDEFilterND< 10U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CVCopulaSmoother1_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CVCopulaSmootherT_npstat__KDEFilterNDT_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_CVCopulaSmoother2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CVCopulaSmoother< npstat::LocalPolyFilterND< 10U > > *arg1 = (npstat::CVCopulaSmoother< npstat::LocalPolyFilterND< 10U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CVCopulaSmootherT_npstat__LocalPolyFilterNDT_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CVCopulaSmoother2" "', argument " "1"" of type '" "npstat::CVCopulaSmoother< npstat::LocalPolyFilterND< 10U > > *""'");
}
arg1 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::LocalPolyFilterND< 10U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CVCopulaSmoother2_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CVCopulaSmootherT_npstat__LocalPolyFilterNDT_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_VariableBandwidthSmoother1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
double arg5 ;
char *arg6 = (char *) 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
int res6 ;
char *buf6 = 0 ;
int alloc6 = 0 ;
npstat::VariableBandwidthSmoother1D *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "6"" of type '" "char const *""'");
}
arg6 = reinterpret_cast< char * >(buf6);
{
try {
result = (npstat::VariableBandwidthSmoother1D *)new npstat::VariableBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
return resultobj;
fail:
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_VariableBandwidthSmoother1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
double arg5 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::VariableBandwidthSmoother1D *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::VariableBandwidthSmoother1D *)new npstat::VariableBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_VariableBandwidthSmoother1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
npstat::VariableBandwidthSmoother1D *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_VariableBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
{
try {
result = (npstat::VariableBandwidthSmoother1D *)new npstat::VariableBandwidthSmoother1D(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_VariableBandwidthSmoother1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_VariableBandwidthSmoother1D", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_VariableBandwidthSmoother1D__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_VariableBandwidthSmoother1D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[5], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_VariableBandwidthSmoother1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VariableBandwidthSmoother1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::VariableBandwidthSmoother1D::VariableBandwidthSmoother1D(unsigned int,double,double,int,double,char const *)\n"
" npstat::VariableBandwidthSmoother1D::VariableBandwidthSmoother1D(unsigned int,double,double,int,double)\n"
" npstat::VariableBandwidthSmoother1D::VariableBandwidthSmoother1D(unsigned int,double,double,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_VariableBandwidthSmoother1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VariableBandwidthSmoother1D *arg1 = (npstat::VariableBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VariableBandwidthSmoother1D" "', argument " "1"" of type '" "npstat::VariableBandwidthSmoother1D *""'");
}
arg1 = reinterpret_cast< npstat::VariableBandwidthSmoother1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VariableBandwidthSmoother1D_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VariableBandwidthSmoother1D *arg1 = (npstat::VariableBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VariableBandwidthSmoother1D_symbetaPower" "', argument " "1"" of type '" "npstat::VariableBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::VariableBandwidthSmoother1D * >(argp1);
{
try {
result = (int)((npstat::VariableBandwidthSmoother1D const *)arg1)->symbetaPower();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VariableBandwidthSmoother1D_bwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VariableBandwidthSmoother1D *arg1 = (npstat::VariableBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VariableBandwidthSmoother1D_bwFactor" "', argument " "1"" of type '" "npstat::VariableBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::VariableBandwidthSmoother1D * >(argp1);
{
try {
result = (double)((npstat::VariableBandwidthSmoother1D const *)arg1)->bwFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *VariableBandwidthSmoother1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__VariableBandwidthSmoother1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *VariableBandwidthSmoother1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LeftCensoredDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
npstat::LeftCensoredDistribution *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LeftCensoredDistribution" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LeftCensoredDistribution" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LeftCensoredDistribution *)new npstat::LeftCensoredDistribution((npstat::AbsDistribution1D const &)*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LeftCensoredDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::LeftCensoredDistribution *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
result = (npstat::LeftCensoredDistribution *)new npstat::LeftCensoredDistribution((npstat::LeftCensoredDistribution const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LeftCensoredDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LeftCensoredDistribution", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LeftCensoredDistribution__SWIG_1(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LeftCensoredDistribution__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LeftCensoredDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LeftCensoredDistribution::LeftCensoredDistribution(npstat::AbsDistribution1D const &,double,double)\n"
" npstat::LeftCensoredDistribution::LeftCensoredDistribution(npstat::LeftCensoredDistribution const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LeftCensoredDistribution *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_clone" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
result = (npstat::LeftCensoredDistribution *)((npstat::LeftCensoredDistribution const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LeftCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_visible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_visible" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::LeftCensoredDistribution const *)arg1)->visible();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_visibleFraction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_visibleFraction" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
result = (double)((npstat::LeftCensoredDistribution const *)arg1)->visibleFraction();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_effectiveInfinity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_effectiveInfinity" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
result = (double)((npstat::LeftCensoredDistribution const *)arg1)->effectiveInfinity();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_density" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LeftCensoredDistribution_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LeftCensoredDistribution const *)arg1)->density(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_cdf" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LeftCensoredDistribution_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LeftCensoredDistribution const *)arg1)->cdf(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_exceedance" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LeftCensoredDistribution_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LeftCensoredDistribution const *)arg1)->exceedance(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_quantile" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LeftCensoredDistribution_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LeftCensoredDistribution const *)arg1)->quantile(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_classId" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
{
try {
result = ((npstat::LeftCensoredDistribution const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = (npstat::LeftCensoredDistribution *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_write" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LeftCensoredDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LeftCensoredDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LeftCensoredDistribution const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LeftCensoredDistribution::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LeftCensoredDistribution::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LeftCensoredDistribution_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LeftCensoredDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LeftCensoredDistribution_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LeftCensoredDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LeftCensoredDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LeftCensoredDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LeftCensoredDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LeftCensoredDistribution *)npstat::LeftCensoredDistribution::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LeftCensoredDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LeftCensoredDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_LeftCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::LeftCensoredDistribution > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_LeftCensoredDistribution", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_LeftCensoredDistribution" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_LeftCensoredDistribution" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_LeftCensoredDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::LeftCensoredDistribution > *)new gs::ArchiveRecord< npstat::LeftCensoredDistribution >((npstat::LeftCensoredDistribution const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_LeftCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::LeftCensoredDistribution > *arg1 = (gs::ArchiveRecord< npstat::LeftCensoredDistribution > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::LeftCensoredDistribution > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::LeftCensoredDistribution > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_LeftCensoredDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__LeftCensoredDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_LeftCensoredDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_103(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LeftCensoredDistribution *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::LeftCensoredDistribution > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LeftCensoredDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::LeftCensoredDistribution >((npstat::LeftCensoredDistribution const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::LeftCensoredDistribution >(static_cast< const gs::ArchiveRecord< npstat::LeftCensoredDistribution >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LeftCensoredDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::LeftCensoredDistribution > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::LeftCensoredDistribution > *)new gs::Reference< npstat::LeftCensoredDistribution >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LeftCensoredDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::LeftCensoredDistribution > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::LeftCensoredDistribution > *)new gs::Reference< npstat::LeftCensoredDistribution >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LeftCensoredDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::LeftCensoredDistribution > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LeftCensoredDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::LeftCensoredDistribution > *)new gs::Reference< npstat::LeftCensoredDistribution >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LeftCensoredDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LeftCensoredDistribution", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_LeftCensoredDistribution__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LeftCensoredDistribution__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LeftCensoredDistribution__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LeftCensoredDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::LeftCensoredDistribution >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::LeftCensoredDistribution >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::LeftCensoredDistribution >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LeftCensoredDistribution_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LeftCensoredDistribution > *arg1 = (gs::Reference< npstat::LeftCensoredDistribution > *) 0 ;
unsigned long arg2 ;
npstat::LeftCensoredDistribution *arg3 = (npstat::LeftCensoredDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LeftCensoredDistribution_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LeftCensoredDistribution_restore" "', argument " "1"" of type '" "gs::Reference< npstat::LeftCensoredDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LeftCensoredDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LeftCensoredDistribution_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__LeftCensoredDistribution, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LeftCensoredDistribution_restore" "', argument " "3"" of type '" "npstat::LeftCensoredDistribution *""'");
}
arg3 = reinterpret_cast< npstat::LeftCensoredDistribution * >(argp3);
{
try {
((gs::Reference< npstat::LeftCensoredDistribution > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LeftCensoredDistribution_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LeftCensoredDistribution > *arg1 = (gs::Reference< npstat::LeftCensoredDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LeftCensoredDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LeftCensoredDistribution_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LeftCensoredDistribution_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::LeftCensoredDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LeftCensoredDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LeftCensoredDistribution_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::LeftCensoredDistribution *)gs_Reference_Sl_npstat_LeftCensoredDistribution_Sg__retrieve((gs::Reference< npstat::LeftCensoredDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LeftCensoredDistribution_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LeftCensoredDistribution > *arg1 = (gs::Reference< npstat::LeftCensoredDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::LeftCensoredDistribution > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LeftCensoredDistribution_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LeftCensoredDistribution_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::LeftCensoredDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LeftCensoredDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LeftCensoredDistribution_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_LeftCensoredDistribution_Sg__getValue((gs::Reference< npstat::LeftCensoredDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LeftCensoredDistribution(static_cast< const npstat::LeftCensoredDistribution& >(result))), SWIGTYPE_p_npstat__LeftCensoredDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LeftCensoredDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LeftCensoredDistribution > *arg1 = (gs::Reference< npstat::LeftCensoredDistribution > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LeftCensoredDistribution" "', argument " "1"" of type '" "gs::Reference< npstat::LeftCensoredDistribution > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LeftCensoredDistribution > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_LeftCensoredDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__LeftCensoredDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LeftCensoredDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_semiMixLocalLogLikelihood__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
npstat::Functor1< double,double > *arg4 = 0 ;
double *arg5 = 0 ;
double arg6 ;
double arg7 ;
int res1 = SWIG_OLDOBJ ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "semiMixLocalLogLikelihood" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg4 = reinterpret_cast< npstat::Functor1< double,double > * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "semiMixLocalLogLikelihood" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "semiMixLocalLogLikelihood" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "semiMixLocalLogLikelihood" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR semiMixLocalLogLikelihood< double,double >((std::vector< double,std::allocator< double > > const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,arg3,(npstat::Functor1< double,double > const &)*arg4,(double const &)*arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_semiMixLocalLogLikelihood__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
npstat::Functor1< double,double > *arg4 = 0 ;
npstat::Functor1< double,double > *arg5 = 0 ;
double arg6 ;
double arg7 ;
int res1 = SWIG_OLDOBJ ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "semiMixLocalLogLikelihood" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg4 = reinterpret_cast< npstat::Functor1< double,double > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "semiMixLocalLogLikelihood" "', argument " "5"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "5"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "semiMixLocalLogLikelihood" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "semiMixLocalLogLikelihood" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR semiMixLocalLogLikelihood< double,npstat::Functor1< double,double > >((std::vector< double,std::allocator< double > > const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,arg3,(npstat::Functor1< double,double > const &)*arg4,(npstat::Functor1< double,double > const &)*arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_semiMixLocalLogLikelihood__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
npstat::Functor1< double,double > *arg4 = 0 ;
double *arg5 = 0 ;
double arg6 ;
double arg7 ;
int res1 = SWIG_OLDOBJ ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double temp5 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *ptr = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "semiMixLocalLogLikelihood" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg4 = reinterpret_cast< npstat::Functor1< double,double > * >(argp4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "semiMixLocalLogLikelihood" "', argument " "5"" of type '" "double""'");
}
temp5 = static_cast< double >(val5);
arg5 = &temp5;
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "semiMixLocalLogLikelihood" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "semiMixLocalLogLikelihood" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR semiMixLocalLogLikelihood< std::pair< double,double >,double >((std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,arg3,(npstat::Functor1< double,double > const &)*arg4,(double const &)*arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_semiMixLocalLogLikelihood__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
npstat::Functor1< double,double > *arg4 = 0 ;
npstat::Functor1< double,double > *arg5 = 0 ;
double arg6 ;
double arg7 ;
int res1 = SWIG_OLDOBJ ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
{
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *ptr = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "1"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg1 = ptr;
}
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "semiMixLocalLogLikelihood" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "4"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg4 = reinterpret_cast< npstat::Functor1< double,double > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "semiMixLocalLogLikelihood" "', argument " "5"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "semiMixLocalLogLikelihood" "', argument " "5"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg5 = reinterpret_cast< npstat::Functor1< double,double > * >(argp5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "semiMixLocalLogLikelihood" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "semiMixLocalLogLikelihood" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR semiMixLocalLogLikelihood< std::pair< double,double >,npstat::Functor1< double,double > >((std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,arg3,(npstat::Functor1< double,double > const &)*arg4,(npstat::Functor1< double,double > const &)*arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_semiMixLocalLogLikelihood(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "semiMixLocalLogLikelihood", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 7) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_semiMixLocalLogLikelihood__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_semiMixLocalLogLikelihood__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = swig::asptr(argv[0], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_semiMixLocalLogLikelihood__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__Functor1T_double_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_semiMixLocalLogLikelihood__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'semiMixLocalLogLikelihood'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::semiMixLocalLogLikelihood< double,double >(std::vector< double,std::allocator< double > > const &,npstat::AbsDistribution1D const &,double const,npstat::Functor1< double,double > const &,double const &,double const,double const)\n"
" npstat::semiMixLocalLogLikelihood< double,npstat::Functor1< double,double > >(std::vector< double,std::allocator< double > > const &,npstat::AbsDistribution1D const &,double const,npstat::Functor1< double,double > const &,npstat::Functor1< double,double > const &,double const,double const)\n"
" npstat::semiMixLocalLogLikelihood< std::pair< double,double >,double >(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,npstat::AbsDistribution1D const &,double const,npstat::Functor1< double,double > const &,double const &,double const,double const)\n"
" npstat::semiMixLocalLogLikelihood< std::pair< double,double >,npstat::Functor1< double,double > >(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,npstat::AbsDistribution1D const &,double const,npstat::Functor1< double,double > const &,npstat::Functor1< double,double > const &,double const,double const)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_randomHistoFillC1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = (npstat::HistoND< float,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFillC1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFillC1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillC1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFillC1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillC1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillC1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< float,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFillC1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFillC1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFillC1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillC1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFillC1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFillC1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFillC1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< double,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFillC1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "randomHistoFillC1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFillC1D__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFillC1D__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'randomHistoFillC1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::randomHistoFill1D< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::HistoAxis > *arg1 = (npstat::HistoND< int,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< int,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::HistoAxis > *arg1 = (npstat::HistoND< long,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< long,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::HistoAxis > *arg1 = (npstat::HistoND< float,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< float,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::HistoAxis > *arg1 = (npstat::HistoND< double,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< double,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg1 = (npstat::HistoND< unsigned char,npstat::HistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::NUHistoAxis > *arg1 = (npstat::HistoND< int,npstat::NUHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< int,npstat::NUHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::NUHistoAxis > *arg1 = (npstat::HistoND< long,npstat::NUHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< long,npstat::NUHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::NUHistoAxis > *arg1 = (npstat::HistoND< float,npstat::NUHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< float,npstat::NUHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::NUHistoAxis > *arg1 = (npstat::HistoND< double,npstat::NUHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< double,npstat::NUHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::NUHistoAxis > *arg1 = (npstat::HistoND< unsigned char,npstat::NUHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< int,npstat::DualHistoAxis > *arg1 = (npstat::HistoND< int,npstat::DualHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< int,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< int,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< int,npstat::DualHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< long,npstat::DualHistoAxis > *arg1 = (npstat::HistoND< long,npstat::DualHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< long,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< long,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< long,npstat::DualHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< float,npstat::DualHistoAxis > *arg1 = (npstat::HistoND< float,npstat::DualHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< float,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< float,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< float,npstat::DualHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< double,npstat::DualHistoAxis > *arg1 = (npstat::HistoND< double,npstat::DualHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< double,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< double,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< double,npstat::DualHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::HistoND< unsigned char,npstat::DualHistoAxis > *arg1 = (npstat::HistoND< unsigned char,npstat::DualHistoAxis > *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "randomHistoFill1D" "', argument " "1"" of type '" "npstat::HistoND< unsigned char,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "randomHistoFill1D" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "randomHistoFill1D" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
npstat::SWIGTEMPLATEDISAMBIGUATOR randomHistoFill1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(arg1,*arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_randomHistoFill1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "randomHistoFill1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_4(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_5(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_int_npstat__NUHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_6(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_long_npstat__NUHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_7(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_8(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_9(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__NUHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_10(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_int_npstat__DualHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_11(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_long_npstat__DualHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_12(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_13(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_14(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__DualHistoAxis_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_npstat__AbsRandomGenerator, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_randomHistoFill1D__SWIG_15(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'randomHistoFill1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::randomHistoFill1D< npstat::HistoND< int,npstat::HistoAxis > >(npstat::HistoND< int,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< long,npstat::HistoAxis > >(npstat::HistoND< long,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< float,npstat::HistoAxis > >(npstat::HistoND< float,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< double,npstat::HistoAxis > >(npstat::HistoND< double,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< unsigned char,npstat::HistoAxis > >(npstat::HistoND< unsigned char,npstat::HistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< int,npstat::NUHistoAxis > >(npstat::HistoND< int,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< long,npstat::NUHistoAxis > >(npstat::HistoND< long,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< float,npstat::NUHistoAxis > >(npstat::HistoND< float,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< double,npstat::NUHistoAxis > >(npstat::HistoND< double,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< unsigned char,npstat::NUHistoAxis > >(npstat::HistoND< unsigned char,npstat::NUHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< int,npstat::DualHistoAxis > >(npstat::HistoND< int,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< long,npstat::DualHistoAxis > >(npstat::HistoND< long,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< float,npstat::DualHistoAxis > >(npstat::HistoND< float,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< double,npstat::DualHistoAxis > >(npstat::HistoND< double,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n"
" npstat::randomHistoFill1D< npstat::HistoND< unsigned char,npstat::DualHistoAxis > >(npstat::HistoND< unsigned char,npstat::DualHistoAxis > *,npstat::AbsRandomGenerator &,npstat::AbsDistribution1D const &,unsigned long)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_StorableMultivariateFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StorableMultivariateFunctor" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor_description" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
{
try {
result = (std::string *) &((npstat::StorableMultivariateFunctor const *)arg1)->description();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_setDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor_setDescription", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor_setDescription" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
{
std::basic_string<char> *ptr = (std::basic_string<char> *)0;
res2 = SWIG_AsPtr_std_basic_string_Sl_char_Sg_(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StorableMultivariateFunctor_setDescription" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor_setDescription" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setDescription((std::string const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_validateDescription(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor_validateDescription", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor_validateDescription" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
{
std::basic_string<char> *ptr = (std::basic_string<char> *)0;
res2 = SWIG_AsPtr_std_basic_string_Sl_char_Sg_(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StorableMultivariateFunctor_validateDescription" "', argument " "2"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor_validateDescription" "', argument " "2"" of type '" "std::string const &""'");
}
arg2 = ptr;
}
{
try {
((npstat::StorableMultivariateFunctor const *)arg1)->validateDescription((std::string const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
npstat::StorableMultivariateFunctor *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor___eq__" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StorableMultivariateFunctor___eq__" "', argument " "2"" of type '" "npstat::StorableMultivariateFunctor const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor___eq__" "', argument " "2"" of type '" "npstat::StorableMultivariateFunctor const &""'");
}
arg2 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp2);
{
try {
result = (bool)((npstat::StorableMultivariateFunctor const *)arg1)->operator ==((npstat::StorableMultivariateFunctor const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
npstat::StorableMultivariateFunctor *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor___ne__" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StorableMultivariateFunctor___ne__" "', argument " "2"" of type '" "npstat::StorableMultivariateFunctor const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor___ne__" "', argument " "2"" of type '" "npstat::StorableMultivariateFunctor const &""'");
}
arg2 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp2);
{
try {
result = (bool)((npstat::StorableMultivariateFunctor const *)arg1)->operator !=((npstat::StorableMultivariateFunctor const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor_classId" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
{
try {
result = ((npstat::StorableMultivariateFunctor const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableMultivariateFunctor *arg1 = (npstat::StorableMultivariateFunctor *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableMultivariateFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor_write" "', argument " "1"" of type '" "npstat::StorableMultivariateFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::StorableMultivariateFunctor * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StorableMultivariateFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableMultivariateFunctor const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableMultivariateFunctor::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableMultivariateFunctor::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StorableMultivariateFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableMultivariateFunctor *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StorableMultivariateFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StorableMultivariateFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StorableMultivariateFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StorableMultivariateFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableMultivariateFunctor *)npstat::StorableMultivariateFunctor::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableMultivariateFunctor, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *StorableMultivariateFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableMultivariateFunctor, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleHistoNDFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleHistoNDFunctor" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->minDim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor___call__" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleHistoNDFunctor___call__" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleHistoNDFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->operator ()((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_interpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_setInterpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_setInterpolationDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_setInterpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleHistoNDFunctor_setInterpolationDegree" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setInterpolationDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::Table *) &((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_double_npstat__DualHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_interpolator", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleHistoNDFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleHistoNDFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleHistoNDFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::interpolator()\n"
" npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &(arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_table", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleHistoNDFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleHistoNDFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleHistoNDFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::table()\n"
" npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
npstat::Same< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__SameT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
arg2 = reinterpret_cast< npstat::Same< double > * >(argp2);
{
try {
(arg1)->setConverter((npstat::Same< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_classId" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
{
try {
result = ((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_write" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleHistoNDFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleHistoNDFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis > *)npstat::StorableHistoNDFunctor< double,npstat::DualHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleHistoNDFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__DualHistoAxis_npstat__SameT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleUAHistoNDFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleUAHistoNDFunctor" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->minDim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor___call__" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleUAHistoNDFunctor___call__" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleUAHistoNDFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->operator ()((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_interpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_setInterpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_setInterpolationDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_setInterpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleUAHistoNDFunctor_setInterpolationDegree" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setInterpolationDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::Table *) &((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_interpolator", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAHistoNDFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAHistoNDFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleUAHistoNDFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::interpolator()\n"
" npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &(arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_table", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAHistoNDFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleUAHistoNDFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleUAHistoNDFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::table()\n"
" npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
npstat::Same< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__SameT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleUAHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
arg2 = reinterpret_cast< npstat::Same< double > * >(argp2);
{
try {
(arg1)->setConverter((npstat::Same< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_classId" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
{
try {
result = ((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_write" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleUAHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleUAHistoNDFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleUAHistoNDFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleUAHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleUAHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleUAHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::HistoAxis > *)npstat::StorableHistoNDFunctor< double,npstat::HistoAxis >::SWIGTEMPLATEDISAMBIGUATOR read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleUAHistoNDFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__HistoAxis_npstat__SameT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleNUHistoNDFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleNUHistoNDFunctor" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->minDim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor___call__" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleNUHistoNDFunctor___call__" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleNUHistoNDFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->operator ()((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_interpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_setInterpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_setInterpolationDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_setInterpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleNUHistoNDFunctor_setInterpolationDegree" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setInterpolationDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::Table *) &((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_double_npstat__NUHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_interpolator", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUHistoNDFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUHistoNDFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleNUHistoNDFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::interpolator()\n"
" npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &(arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_table", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUHistoNDFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleNUHistoNDFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleNUHistoNDFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::table()\n"
" npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
npstat::Same< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__SameT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleNUHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< double > const &""'");
}
arg2 = reinterpret_cast< npstat::Same< double > * >(argp2);
{
try {
(arg1)->setConverter((npstat::Same< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_classId" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
{
try {
result = ((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_write" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleNUHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleNUHistoNDFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "DoubleNUHistoNDFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleNUHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleNUHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleNUHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis > *)npstat::StorableHistoNDFunctor< double,npstat::NUHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleNUHistoNDFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableHistoNDFunctorT_double_npstat__NUHistoAxis_npstat__SameT_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_FloatHistoNDFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatHistoNDFunctor" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->minDim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor___call__" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatHistoNDFunctor___call__" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatHistoNDFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->operator ()((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_interpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_setInterpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_setInterpolationDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_setInterpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatHistoNDFunctor_setInterpolationDegree" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setInterpolationDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::Table *) &((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_float_npstat__DualHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_interpolator", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatHistoNDFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatHistoNDFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatHistoNDFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::interpolator()\n"
" npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< float > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &(arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< float > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_table", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatHistoNDFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatHistoNDFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatHistoNDFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::table()\n"
" npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
npstat::Same< float > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__SameT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
arg2 = reinterpret_cast< npstat::Same< float > * >(argp2);
{
try {
(arg1)->setConverter((npstat::Same< float > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_classId" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
{
try {
result = ((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_write" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatHistoNDFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatHistoNDFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis > *)npstat::StorableHistoNDFunctor< float,npstat::DualHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatHistoNDFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__DualHistoAxis_npstat__SameT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_FloatUAHistoNDFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatUAHistoNDFunctor" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->minDim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor___call__" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatUAHistoNDFunctor___call__" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatUAHistoNDFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->operator ()((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_interpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_setInterpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_setInterpolationDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_setInterpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatUAHistoNDFunctor_setInterpolationDegree" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setInterpolationDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::Table *) &((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_interpolator", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAHistoNDFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAHistoNDFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatUAHistoNDFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::interpolator()\n"
" npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< float > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &(arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< float > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_table", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAHistoNDFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatUAHistoNDFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatUAHistoNDFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::table()\n"
" npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
npstat::Same< float > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__SameT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatUAHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
arg2 = reinterpret_cast< npstat::Same< float > * >(argp2);
{
try {
(arg1)->setConverter((npstat::Same< float > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_classId" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
{
try {
result = ((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_write" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatUAHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatUAHistoNDFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatUAHistoNDFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatUAHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatUAHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatUAHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::HistoAxis > *)npstat::StorableHistoNDFunctor< float,npstat::HistoAxis >::SWIGTEMPLATEDISAMBIGUATOR read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatUAHistoNDFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__HistoAxis_npstat__SameT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_FloatNUHistoNDFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatNUHistoNDFunctor" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_minDim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_minDim" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->minDim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor___call__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor___call__" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatNUHistoNDFunctor___call__" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatNUHistoNDFunctor___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->operator ()((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_interpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (unsigned int)((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_setInterpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_setInterpolationDegree", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_setInterpolationDegree" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FloatNUHistoNDFunctor_setInterpolationDegree" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setInterpolationDegree(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_interpolator__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::Table *) &(arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_interpolator__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::Table *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_interpolator" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::Table *) &((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->interpolator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__HistoNDT_float_npstat__NUHistoAxis_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_interpolator(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_interpolator", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUHistoNDFunctor_interpolator__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUHistoNDFunctor_interpolator__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatNUHistoNDFunctor_interpolator'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::interpolator()\n"
" npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::interpolator() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_table__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< float > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &(arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_table__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< float > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_table" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = (npstat::ArrayND< float > *) &((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->table();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_table(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_table", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUHistoNDFunctor_table__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatNUHistoNDFunctor_table__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatNUHistoNDFunctor_table'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::table()\n"
" npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::table() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_setConverter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
npstat::Same< float > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_setConverter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_setConverter" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__SameT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatNUHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUHistoNDFunctor_setConverter" "', argument " "2"" of type '" "npstat::Same< float > const &""'");
}
arg2 = reinterpret_cast< npstat::Same< float > * >(argp2);
{
try {
(arg1)->setConverter((npstat::Same< float > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_classId" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
{
try {
result = ((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *arg1 = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_write" "', argument " "1"" of type '" "npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *""'");
}
arg1 = reinterpret_cast< npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatNUHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUHistoNDFunctor_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatNUHistoNDFunctor_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "FloatNUHistoNDFunctor_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatNUHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUHistoNDFunctor_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatNUHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatNUHistoNDFunctor_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis > *)npstat::StorableHistoNDFunctor< float,npstat::NUHistoAxis >::SWIGTEMPLATEDISAMBIGUATOR read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatNUHistoNDFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StorableHistoNDFunctorT_float_npstat__NUHistoAxis_npstat__SameT_float_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DFixedDegreeCVRunner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::LOrPE1DFixedDegreeCVRunner *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPE1DFixedDegreeCVRunner", 3, 3, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPE1DFixedDegreeCVRunner" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPE1DFixedDegreeCVRunner" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPE1DFixedDegreeCVRunner" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::LOrPE1DFixedDegreeCVRunner *)new npstat::LOrPE1DFixedDegreeCVRunner(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DFixedDegreeCVRunner_fixedDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVRunner *arg1 = (npstat::LOrPE1DFixedDegreeCVRunner *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DFixedDegreeCVRunner_fixedDegree" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DFixedDegreeCVRunner const *)arg1)->fixedDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DFixedDegreeCVRunner_bwFactorGuess(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVRunner *arg1 = (npstat::LOrPE1DFixedDegreeCVRunner *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DFixedDegreeCVRunner_bwFactorGuess" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DFixedDegreeCVRunner const *)arg1)->bwFactorGuess();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DFixedDegreeCVRunner_tol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVRunner *arg1 = (npstat::LOrPE1DFixedDegreeCVRunner *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DFixedDegreeCVRunner_tol" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DFixedDegreeCVRunner const *)arg1)->tol();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPE1DFixedDegreeCVRunner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFixedDegreeCVRunner *arg1 = (npstat::LOrPE1DFixedDegreeCVRunner *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPE1DFixedDegreeCVRunner" "', argument " "1"" of type '" "npstat::LOrPE1DFixedDegreeCVRunner *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFixedDegreeCVRunner * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPE1DFixedDegreeCVRunner_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DFixedDegreeCVRunner, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPE1DFixedDegreeCVRunner_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_aicc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "aicc", 3, 3, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aicc" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aicc" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aicc" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)npstat::aicc(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AD(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AD", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "AD" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AD" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)npstat::AD(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_normalizeArrayAsDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned long arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
PyArrayObject *array1 = NULL ;
int i1 = 1 ;
double val3 ;
int ecode3 = 0 ;
double temp4 ;
int res4 = SWIG_TMPOBJ ;
PyObject *swig_obj[2] ;
bool result;
arg4 = &temp4;
if (!SWIG_Python_UnpackTuple(args, "normalizeArrayAsDensity", 2, 2, swig_obj)) SWIG_fail;
{
array1 = obj_to_array_no_conversion(swig_obj[0], NPY_DOUBLE);
if (!array1 || !require_dimensions(array1,1) || !require_contiguous(array1)
|| !require_native(array1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = 1;
for (i1=0; i1 < array_numdims(array1); ++i1) arg2 *= array_size(array1,i1);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "normalizeArrayAsDensity" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (bool)npstat::normalizeArrayAsDensity_2(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (SWIG_IsTmpObj(res4)) {
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)));
} else {
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalQuantile__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
double arg2 ;
bool arg3 ;
int res1 = SWIG_OLDOBJ ;
double val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
float result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< float,std::allocator< float > > *ptr = (std::vector< float,std::allocator< float > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "empiricalQuantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalQuantile" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalQuantile< float >((std::vector< float,std::allocator< float > > const &)*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalQuantile__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
double arg2 ;
int res1 = SWIG_OLDOBJ ;
double val2 ;
int ecode2 = 0 ;
float result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< float,std::allocator< float > > *ptr = (std::vector< float,std::allocator< float > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "empiricalQuantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (float)npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalQuantile< float >((std::vector< float,std::allocator< float > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_float(static_cast< float >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalQuantile__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
double arg2 ;
bool arg3 ;
int res1 = SWIG_OLDOBJ ;
double val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "empiricalQuantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "empiricalQuantile" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalQuantile< double >((std::vector< double,std::allocator< double > > const &)*arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalQuantile__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
double arg2 ;
int res1 = SWIG_OLDOBJ ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalQuantile" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "empiricalQuantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalQuantile< double >((std::vector< double,std::allocator< double > > const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalQuantile(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalQuantile", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< float,std::allocator< float > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalQuantile__SWIG_3(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalQuantile__SWIG_5(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalQuantile__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< float,std::allocator< float > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalQuantile__SWIG_2(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalQuantile'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalQuantile< float >(std::vector< float,std::allocator< float > > const &,double,bool)\n"
" npstat::empiricalQuantile< float >(std::vector< float,std::allocator< float > > const &,double)\n"
" npstat::empiricalQuantile< double >(std::vector< double,std::allocator< double > > const &,double,bool)\n"
" npstat::empiricalQuantile< double >(std::vector< double,std::allocator< double > > const &,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_empiricalCdf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
float *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< float,std::allocator< float > > *ptr = (std::vector< float,std::allocator< float > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCdf" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCdf" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "empiricalCdf" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCdf< float >((std::vector< float,std::allocator< float > > const &)*arg1,(float const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCdf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
double *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "empiricalCdf" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "empiricalCdf" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "empiricalCdf" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR empiricalCdf< double >((std::vector< double,std::allocator< double > > const &)*arg1,(double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_empiricalCdf(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "empiricalCdf", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< float,std::allocator< float > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCdf__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_empiricalCdf__SWIG_2(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'empiricalCdf'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::empiricalCdf< float >(std::vector< float,std::allocator< float > > const &,float const &)\n"
" npstat::empiricalCdf< double >(std::vector< double,std::allocator< double > > const &,double const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_simpleEmpiricalCdf__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< float,std::allocator< float > > *arg1 = 0 ;
float *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
float temp2 ;
float val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< float,std::allocator< float > > *ptr = (std::vector< float,std::allocator< float > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "simpleEmpiricalCdf" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "simpleEmpiricalCdf" "', argument " "1"" of type '" "std::vector< float,std::allocator< float > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_float(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "simpleEmpiricalCdf" "', argument " "2"" of type '" "float""'");
}
temp2 = static_cast< float >(val2);
arg2 = &temp2;
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR simpleEmpiricalCdf< float >((std::vector< float,std::allocator< float > > const &)*arg1,(float const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_simpleEmpiricalCdf__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< double,std::allocator< double > > *arg1 = 0 ;
double *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
double result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "simpleEmpiricalCdf" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "simpleEmpiricalCdf" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg1 = ptr;
}
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "simpleEmpiricalCdf" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR simpleEmpiricalCdf< double >((std::vector< double,std::allocator< double > > const &)*arg1,(double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_simpleEmpiricalCdf(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "simpleEmpiricalCdf", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< float,std::allocator< float > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_float(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_simpleEmpiricalCdf__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_simpleEmpiricalCdf__SWIG_2(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'simpleEmpiricalCdf'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::simpleEmpiricalCdf< float >(std::vector< float,std::allocator< float > > const &,float const &)\n"
" npstat::simpleEmpiricalCdf< double >(std::vector< double,std::allocator< double > > const &,double const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_KDEGroupedCopulaSmoother_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
npstat::AbsDistributionND *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double arg8 ;
npstat::KDEGroupedCopulaSmoother< 10U >::Base::GCVCalc *arg9 = (npstat::KDEGroupedCopulaSmoother< 10U >::Base::GCVCalc *) 0 ;
bool arg10 ;
double arg11 ;
unsigned int arg12 ;
bool arg13 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyArrayObject *array6 = NULL ;
int is_new_object6 = 0 ;
double val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
bool val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
unsigned int val12 ;
int ecode12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
PyObject *swig_obj[11] ;
npstat::KDEGroupedCopulaSmoother< 10U > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_KDEGroupedCopulaSmoother_10", 11, 11, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "5"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "5"" of type '" "npstat::AbsDistributionND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistributionND * >(argp5);
{
npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(swig_obj[4],
NPY_DOUBLE,
&is_new_object6);
if (!array6 || !require_dimensions(array6, 1) ||
!require_size(array6, size, 1)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = (int) array_size(array6,0);
}
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "9"" of type '" "npstat::KDEGroupedCopulaSmoother< 10U >::Base::GCVCalc const *""'");
}
arg9 = reinterpret_cast< npstat::KDEGroupedCopulaSmoother< 10U >::Base::GCVCalc * >(argp9);
ecode10 = SWIG_AsVal_bool(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "10"" of type '" "bool""'");
}
arg10 = static_cast< bool >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
ecode13 = SWIG_AsVal_bool(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_KDEGroupedCopulaSmoother_10" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::KDEGroupedCopulaSmoother< 10U > *)new npstat::KDEGroupedCopulaSmoother< 10U >((unsigned int const *)arg1,arg2,arg3,arg4,(npstat::AbsDistributionND const &)*arg5,(double const *)arg6,arg7,arg8,(npstat::KDEGroupedCopulaSmoother< 10U >::Base::GCVCalc const *)arg9,arg10,arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDEGroupedCopulaSmootherT_10U_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_KDEGroupedCopulaSmoother_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDEGroupedCopulaSmoother< 10U > *arg1 = (npstat::KDEGroupedCopulaSmoother< 10U > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDEGroupedCopulaSmootherT_10U_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KDEGroupedCopulaSmoother_10" "', argument " "1"" of type '" "npstat::KDEGroupedCopulaSmoother< 10U > *""'");
}
arg1 = reinterpret_cast< npstat::KDEGroupedCopulaSmoother< 10U > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *KDEGroupedCopulaSmoother_10_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__KDEGroupedCopulaSmootherT_10U_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *KDEGroupedCopulaSmoother_10_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_PowerHalfCauchy1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
npstat::PowerHalfCauchy1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_PowerHalfCauchy1D", 4, 4, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_PowerHalfCauchy1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PowerHalfCauchy1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_PowerHalfCauchy1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_PowerHalfCauchy1D" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::PowerHalfCauchy1D *)new npstat::PowerHalfCauchy1D(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = (npstat::PowerHalfCauchy1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::PowerHalfCauchy1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerHalfCauchy1D_clone" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
{
try {
result = (npstat::PowerHalfCauchy1D *)((npstat::PowerHalfCauchy1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_PowerHalfCauchy1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = (npstat::PowerHalfCauchy1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PowerHalfCauchy1D" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D *""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_m(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = (npstat::PowerHalfCauchy1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerHalfCauchy1D_m" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
{
try {
result = (unsigned int)((npstat::PowerHalfCauchy1D const *)arg1)->m();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_n(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = (npstat::PowerHalfCauchy1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerHalfCauchy1D_n" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
{
try {
result = (unsigned int)((npstat::PowerHalfCauchy1D const *)arg1)->n();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = (npstat::PowerHalfCauchy1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerHalfCauchy1D_classId" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
{
try {
result = ((npstat::PowerHalfCauchy1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = (npstat::PowerHalfCauchy1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "PowerHalfCauchy1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerHalfCauchy1D_write" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PowerHalfCauchy1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerHalfCauchy1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::PowerHalfCauchy1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "PowerHalfCauchy1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::PowerHalfCauchy1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "PowerHalfCauchy1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::PowerHalfCauchy1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerHalfCauchy1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::PowerHalfCauchy1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "PowerHalfCauchy1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerHalfCauchy1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerHalfCauchy1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PowerHalfCauchy1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerHalfCauchy1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::PowerHalfCauchy1D *)npstat::PowerHalfCauchy1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PowerHalfCauchy1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *PowerHalfCauchy1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_PowerHalfCauchy1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::PowerHalfCauchy1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_PowerHalfCauchy1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_PowerHalfCauchy1D" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_PowerHalfCauchy1D" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const &""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_PowerHalfCauchy1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_PowerHalfCauchy1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::PowerHalfCauchy1D > *)new gs::ArchiveRecord< npstat::PowerHalfCauchy1D >((npstat::PowerHalfCauchy1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_PowerHalfCauchy1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::PowerHalfCauchy1D > *arg1 = (gs::ArchiveRecord< npstat::PowerHalfCauchy1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::PowerHalfCauchy1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::PowerHalfCauchy1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_PowerHalfCauchy1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerHalfCauchy1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_PowerHalfCauchy1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_104(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::PowerHalfCauchy1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::PowerHalfCauchy1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::PowerHalfCauchy1D const &""'");
}
arg1 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::PowerHalfCauchy1D >((npstat::PowerHalfCauchy1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::PowerHalfCauchy1D >(static_cast< const gs::ArchiveRecord< npstat::PowerHalfCauchy1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerHalfCauchy1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::PowerHalfCauchy1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::PowerHalfCauchy1D > *)new gs::Reference< npstat::PowerHalfCauchy1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerHalfCauchy1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::PowerHalfCauchy1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::PowerHalfCauchy1D > *)new gs::Reference< npstat::PowerHalfCauchy1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerHalfCauchy1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::PowerHalfCauchy1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerHalfCauchy1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::PowerHalfCauchy1D > *)new gs::Reference< npstat::PowerHalfCauchy1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerHalfCauchy1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_PowerHalfCauchy1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_PowerHalfCauchy1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_PowerHalfCauchy1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_PowerHalfCauchy1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_PowerHalfCauchy1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::PowerHalfCauchy1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::PowerHalfCauchy1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::PowerHalfCauchy1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_PowerHalfCauchy1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerHalfCauchy1D > *arg1 = (gs::Reference< npstat::PowerHalfCauchy1D > *) 0 ;
unsigned long arg2 ;
npstat::PowerHalfCauchy1D *arg3 = (npstat::PowerHalfCauchy1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerHalfCauchy1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerHalfCauchy1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::PowerHalfCauchy1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerHalfCauchy1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerHalfCauchy1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__PowerHalfCauchy1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_PowerHalfCauchy1D_restore" "', argument " "3"" of type '" "npstat::PowerHalfCauchy1D *""'");
}
arg3 = reinterpret_cast< npstat::PowerHalfCauchy1D * >(argp3);
{
try {
((gs::Reference< npstat::PowerHalfCauchy1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_PowerHalfCauchy1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerHalfCauchy1D > *arg1 = (gs::Reference< npstat::PowerHalfCauchy1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::PowerHalfCauchy1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerHalfCauchy1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerHalfCauchy1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::PowerHalfCauchy1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerHalfCauchy1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerHalfCauchy1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::PowerHalfCauchy1D *)gs_Reference_Sl_npstat_PowerHalfCauchy1D_Sg__retrieve((gs::Reference< npstat::PowerHalfCauchy1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_PowerHalfCauchy1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerHalfCauchy1D > *arg1 = (gs::Reference< npstat::PowerHalfCauchy1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::PowerHalfCauchy1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerHalfCauchy1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerHalfCauchy1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::PowerHalfCauchy1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerHalfCauchy1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerHalfCauchy1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_PowerHalfCauchy1D_Sg__getValue((gs::Reference< npstat::PowerHalfCauchy1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::PowerHalfCauchy1D(static_cast< const npstat::PowerHalfCauchy1D& >(result))), SWIGTYPE_p_npstat__PowerHalfCauchy1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_PowerHalfCauchy1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerHalfCauchy1D > *arg1 = (gs::Reference< npstat::PowerHalfCauchy1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_PowerHalfCauchy1D" "', argument " "1"" of type '" "gs::Reference< npstat::PowerHalfCauchy1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerHalfCauchy1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_PowerHalfCauchy1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__PowerHalfCauchy1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_PowerHalfCauchy1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::GridRandomizer *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GridRandomizer, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::GridRandomizer const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::GridRandomizer const &""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
{
try {
result = (npstat::GridRandomizer *)new npstat::GridRandomizer((npstat::GridRandomizer const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_GridRandomizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GridRandomizer" "', argument " "1"" of type '" "npstat::GridRandomizer *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridRandomizer___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
npstat::GridRandomizer *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GridRandomizer___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer___eq__" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GridRandomizer, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridRandomizer___eq__" "', argument " "2"" of type '" "npstat::GridRandomizer const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridRandomizer___eq__" "', argument " "2"" of type '" "npstat::GridRandomizer const &""'");
}
arg2 = reinterpret_cast< npstat::GridRandomizer * >(argp2);
{
try {
result = (bool)((npstat::GridRandomizer const *)arg1)->operator ==((npstat::GridRandomizer const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_GridRandomizer___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
npstat::GridRandomizer *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GridRandomizer___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer___ne__" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GridRandomizer, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridRandomizer___ne__" "', argument " "2"" of type '" "npstat::GridRandomizer const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GridRandomizer___ne__" "', argument " "2"" of type '" "npstat::GridRandomizer const &""'");
}
arg2 = reinterpret_cast< npstat::GridRandomizer * >(argp2);
{
try {
result = (bool)((npstat::GridRandomizer const *)arg1)->operator !=((npstat::GridRandomizer const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_GridRandomizer_gridData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer_gridData" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::GridRandomizer const *)arg1)->gridData();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridRandomizer_gridBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BoxND< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer_gridBoundary" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
{
try {
result = (npstat::BoxND< double > *) &((npstat::GridRandomizer const *)arg1)->gridBoundary();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridRandomizer_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer_interpolationDegree" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
{
try {
result = (unsigned int)((npstat::GridRandomizer const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridRandomizer_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer_dim" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
{
try {
result = (unsigned int)((npstat::GridRandomizer const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridRandomizer_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GridRandomizer_density", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer_density" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridRandomizer_density" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridRandomizer_density" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::GridRandomizer const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GridRandomizer_generate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GridRandomizer *arg1 = (npstat::GridRandomizer *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "GridRandomizer_generate", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GridRandomizer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GridRandomizer_generate" "', argument " "1"" of type '" "npstat::GridRandomizer const *""'");
}
arg1 = reinterpret_cast< npstat::GridRandomizer * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GridRandomizer_generate" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GridRandomizer_generate" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GridRandomizer_generate" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::GridRandomizer const *)arg1)->generate((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< float,1U,10U > *arg1 = 0 ;
npstat::BoxND< double > *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::GridRandomizer *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< float,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< float,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< float,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::BoxND< double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridRandomizer" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::GridRandomizer *)new npstat::GridRandomizer((npstat::ArrayND< float,1U,10U > const &)*arg1,(npstat::BoxND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< double,1U,10U > *arg1 = 0 ;
npstat::BoxND< double > *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::GridRandomizer *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::BoxND< double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridRandomizer" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::GridRandomizer *)new npstat::GridRandomizer((npstat::ArrayND< double,1U,10U > const &)*arg1,(npstat::BoxND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< int,1U,10U > *arg1 = 0 ;
npstat::BoxND< double > *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::GridRandomizer *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_int_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< int,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< int,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< int,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::BoxND< double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridRandomizer" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::GridRandomizer *)new npstat::GridRandomizer((npstat::ArrayND< int,1U,10U > const &)*arg1,(npstat::BoxND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< long,1U,10U > *arg1 = 0 ;
npstat::BoxND< double > *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::GridRandomizer *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_long_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< long,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< long,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< long,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::BoxND< double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridRandomizer" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::GridRandomizer *)new npstat::GridRandomizer((npstat::ArrayND< long,1U,10U > const &)*arg1,(npstat::BoxND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< unsigned char,1U,10U > *arg1 = 0 ;
npstat::BoxND< double > *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::GridRandomizer *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_unsigned_char_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< unsigned char,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "1"" of type '" "npstat::ArrayND< unsigned char,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< unsigned char,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GridRandomizer" "', argument " "2"" of type '" "npstat::BoxND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::BoxND< double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GridRandomizer" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::GridRandomizer *)new npstat::GridRandomizer((npstat::ArrayND< unsigned char,1U,10U > const &)*arg1,(npstat::BoxND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GridRandomizer(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_GridRandomizer", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__GridRandomizer, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GridRandomizer__SWIG_1(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__BoxNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridRandomizer__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__BoxNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridRandomizer__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_int_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__BoxNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridRandomizer__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_long_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__BoxNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridRandomizer__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_unsigned_char_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__BoxNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GridRandomizer__SWIG_6(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_GridRandomizer'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::GridRandomizer::GridRandomizer(npstat::GridRandomizer const &)\n"
" npstat::GridRandomizer::GridRandomizer(npstat::ArrayND< float,1U,10U > const &,npstat::BoxND< double > const &,unsigned int const)\n"
" npstat::GridRandomizer::GridRandomizer(npstat::ArrayND< double,1U,10U > const &,npstat::BoxND< double > const &,unsigned int const)\n"
" npstat::GridRandomizer::GridRandomizer(npstat::ArrayND< int,1U,10U > const &,npstat::BoxND< double > const &,unsigned int const)\n"
" npstat::GridRandomizer::GridRandomizer(npstat::ArrayND< long,1U,10U > const &,npstat::BoxND< double > const &,unsigned int const)\n"
" npstat::GridRandomizer::GridRandomizer(npstat::ArrayND< unsigned char,1U,10U > const &,npstat::BoxND< double > const &,unsigned int const)\n");
return 0;
}
SWIGINTERN PyObject *GridRandomizer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GridRandomizer, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GridRandomizer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D **arg1 = (npstat::AbsDistribution1D **) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_p_npstat__AbsDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const **""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D ** >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const **)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
npstat::AbsDistribution1D *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistribution1D * >(argp6);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5,(npstat::AbsDistribution1D const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
npstat::AbsDistribution1D *arg6 = 0 ;
npstat::AbsDistribution1D *arg7 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistribution1D * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg7 = reinterpret_cast< npstat::AbsDistribution1D * >(argp7);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5,(npstat::AbsDistribution1D const &)*arg6,(npstat::AbsDistribution1D const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
npstat::AbsDistribution1D *arg6 = 0 ;
npstat::AbsDistribution1D *arg7 = 0 ;
npstat::AbsDistribution1D *arg8 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistribution1D * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg7 = reinterpret_cast< npstat::AbsDistribution1D * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ProductDistributionND" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5,(npstat::AbsDistribution1D const &)*arg6,(npstat::AbsDistribution1D const &)*arg7,(npstat::AbsDistribution1D const &)*arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
npstat::AbsDistribution1D *arg6 = 0 ;
npstat::AbsDistribution1D *arg7 = 0 ;
npstat::AbsDistribution1D *arg8 = 0 ;
npstat::AbsDistribution1D *arg9 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistribution1D * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg7 = reinterpret_cast< npstat::AbsDistribution1D * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ProductDistributionND" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_ProductDistributionND" "', argument " "9"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "9"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg9 = reinterpret_cast< npstat::AbsDistribution1D * >(argp9);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5,(npstat::AbsDistribution1D const &)*arg6,(npstat::AbsDistribution1D const &)*arg7,(npstat::AbsDistribution1D const &)*arg8,(npstat::AbsDistribution1D const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsDistribution1D *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
npstat::AbsDistribution1D *arg6 = 0 ;
npstat::AbsDistribution1D *arg7 = 0 ;
npstat::AbsDistribution1D *arg8 = 0 ;
npstat::AbsDistribution1D *arg9 = 0 ;
npstat::AbsDistribution1D *arg10 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
void *argp10 = 0 ;
int res10 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistribution1D * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg7 = reinterpret_cast< npstat::AbsDistribution1D * >(argp7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ProductDistributionND" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_ProductDistributionND" "', argument " "9"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "9"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg9 = reinterpret_cast< npstat::AbsDistribution1D * >(argp9);
res10 = SWIG_ConvertPtr(swig_obj[9], &argp10, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res10)) {
SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "new_ProductDistributionND" "', argument " "10"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp10) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "10"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg10 = reinterpret_cast< npstat::AbsDistribution1D * >(argp10);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,(npstat::AbsDistribution1D const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5,(npstat::AbsDistribution1D const &)*arg6,(npstat::AbsDistribution1D const &)*arg7,(npstat::AbsDistribution1D const &)*arg8,(npstat::AbsDistribution1D const &)*arg9,(npstat::AbsDistribution1D const &)*arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ProductDistributionND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::ProductDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ProductDistributionND" "', argument " "1"" of type '" "npstat::ProductDistributionND const &""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
try {
result = (npstat::ProductDistributionND *)new npstat::ProductDistributionND((npstat::ProductDistributionND const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductDistributionND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[11] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ProductDistributionND", 0, 10, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_1(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_11(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_p_npstat__AbsDistribution1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_4(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_5(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[9], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ProductDistributionND__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ProductDistributionND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const **,unsigned int)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::ProductDistributionND::ProductDistributionND(npstat::ProductDistributionND const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_ProductDistributionND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProductDistributionND" "', argument " "1"" of type '" "npstat::ProductDistributionND *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ProductDistributionND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_clone" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
try {
result = (npstat::ProductDistributionND *)((npstat::ProductDistributionND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_density" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::ProductDistributionND const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_unitMap" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProductDistributionND_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ProductDistributionND_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ProductDistributionND_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::ProductDistributionND const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
try {
result = (bool)((npstat::ProductDistributionND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_isScalable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_isScalable" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
try {
result = (bool)((npstat::ProductDistributionND const *)arg1)->isScalable();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_getMarginal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_getMarginal", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_getMarginal" "', argument " "1"" of type '" "npstat::ProductDistributionND *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProductDistributionND_getMarginal" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::AbsDistribution1D *)(arg1)->getMarginal(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_classId" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
{
try {
result = ((npstat::ProductDistributionND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = (npstat::ProductDistributionND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_write" "', argument " "1"" of type '" "npstat::ProductDistributionND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProductDistributionND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ProductDistributionND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ProductDistributionND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ProductDistributionND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ProductDistributionND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductDistributionND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ProductDistributionND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ProductDistributionND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductDistributionND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ProductDistributionND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProductDistributionND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ProductDistributionND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ProductDistributionND *)npstat::ProductDistributionND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ProductDistributionND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ProductDistributionND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ProductDistributionND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_GaussND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
npstat::Matrix< double > *arg3 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::GaussND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GaussND" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GaussND" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
{
try {
result = (npstat::GaussND *)new npstat::GaussND((double const *)arg1,arg2,(npstat::Matrix< double > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_GaussND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GaussND" "', argument " "1"" of type '" "npstat::GaussND *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::GaussND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_clone" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
try {
result = (npstat::GaussND *)((npstat::GaussND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GaussND_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_density" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::GaussND const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "GaussND_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_unitMap" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussND_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussND_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GaussND_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::GaussND const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
try {
result = (bool)((npstat::GaussND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_getLocation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GaussND_getLocation", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_getLocation" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussND_getLocation" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::GaussND const *)arg1)->getLocation(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_getCovMat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_getCovMat" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
try {
result = (npstat::Matrix< double > *) &((npstat::GaussND const *)arg1)->getCovMat();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_getCorrMat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_getCorrMat" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
try {
result = (npstat::Matrix< double > *) &((npstat::GaussND const *)arg1)->getCorrMat();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_classId" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
{
try {
result = ((npstat::GaussND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = (npstat::GaussND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GaussND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_write" "', argument " "1"" of type '" "npstat::GaussND const *""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::GaussND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::GaussND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "GaussND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::GaussND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GaussND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::GaussND *)npstat::GaussND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
npstat::GaussND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[2] = {
-1, -1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1], NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 2) ||
!require_size(array3, size, 2)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
arg5 = (int) array_size(array3,1);
}
{
try {
result = (npstat::GaussND *)new npstat::GaussND((double const *)arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_GaussND", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GaussND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_new_GaussND__SWIG_1(self, argc, argv);
}
if (argc <= 3) {
return _wrap_new_GaussND__SWIG_1(self, argc, argv);
}
return _wrap_new_GaussND__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_GaussND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::GaussND::GaussND(double const *,unsigned int,npstat::Matrix< double > const &)\n"
" npstat::GaussND::GaussND(double const *,unsigned int,double const *,unsigned int,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *GaussND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GaussND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GaussND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UniformND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::UniformND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_UniformND" "', argument " "1"" of type '" "double const *""'");
}
arg1 = reinterpret_cast< double * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_UniformND" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_UniformND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::UniformND *)new npstat::UniformND((double const *)arg1,(double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UniformND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = (npstat::UniformND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UniformND" "', argument " "1"" of type '" "npstat::UniformND *""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = (npstat::UniformND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::UniformND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UniformND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UniformND_clone" "', argument " "1"" of type '" "npstat::UniformND const *""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
{
try {
result = (npstat::UniformND *)((npstat::UniformND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = (npstat::UniformND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UniformND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UniformND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::UniformND const *""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
{
try {
result = (bool)((npstat::UniformND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = (npstat::UniformND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UniformND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UniformND_classId" "', argument " "1"" of type '" "npstat::UniformND const *""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
{
try {
result = ((npstat::UniformND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = (npstat::UniformND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "UniformND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UniformND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UniformND_write" "', argument " "1"" of type '" "npstat::UniformND const *""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UniformND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UniformND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::UniformND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "UniformND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::UniformND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "UniformND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::UniformND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UniformND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::UniformND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "UniformND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UniformND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UniformND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UniformND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UniformND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::UniformND *)npstat::UniformND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UniformND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
npstat::UniformND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
try {
result = (npstat::UniformND *)new npstat::UniformND((double const *)arg1,arg2,(double const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UniformND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_UniformND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_new_UniformND__SWIG_1(self, argc, argv);
}
return _wrap_new_UniformND__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_UniformND__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_UniformND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::UniformND::UniformND(double const *,double const *,unsigned int const)\n"
" npstat::UniformND::UniformND(double const *,unsigned int,double const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *UniformND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__UniformND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UniformND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ScalableSymmetricBetaND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
npstat::ScalableSymmetricBetaND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScalableSymmetricBetaND" "', argument " "1"" of type '" "double const *""'");
}
arg1 = reinterpret_cast< double * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ScalableSymmetricBetaND" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ScalableSymmetricBetaND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ScalableSymmetricBetaND" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::ScalableSymmetricBetaND *)new npstat::ScalableSymmetricBetaND((double const *)arg1,(double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = (npstat::ScalableSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ScalableSymmetricBetaND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableSymmetricBetaND_clone" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
{
try {
result = (npstat::ScalableSymmetricBetaND *)((npstat::ScalableSymmetricBetaND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ScalableSymmetricBetaND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = (npstat::ScalableSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScalableSymmetricBetaND" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND *""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = (npstat::ScalableSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableSymmetricBetaND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
{
try {
result = (bool)((npstat::ScalableSymmetricBetaND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_power(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = (npstat::ScalableSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableSymmetricBetaND_power" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
{
try {
result = (double)((npstat::ScalableSymmetricBetaND const *)arg1)->power();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = (npstat::ScalableSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableSymmetricBetaND_classId" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
{
try {
result = ((npstat::ScalableSymmetricBetaND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = (npstat::ScalableSymmetricBetaND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ScalableSymmetricBetaND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableSymmetricBetaND_write" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScalableSymmetricBetaND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableSymmetricBetaND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ScalableSymmetricBetaND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ScalableSymmetricBetaND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ScalableSymmetricBetaND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ScalableSymmetricBetaND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ScalableSymmetricBetaND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableSymmetricBetaND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ScalableSymmetricBetaND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ScalableSymmetricBetaND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableSymmetricBetaND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableSymmetricBetaND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScalableSymmetricBetaND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableSymmetricBetaND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ScalableSymmetricBetaND *)npstat::ScalableSymmetricBetaND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ScalableSymmetricBetaND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::ScalableSymmetricBetaND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScalableSymmetricBetaND" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::ScalableSymmetricBetaND *)new npstat::ScalableSymmetricBetaND((double const *)arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ScalableSymmetricBetaND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ScalableSymmetricBetaND", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ScalableSymmetricBetaND__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ScalableSymmetricBetaND__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ScalableSymmetricBetaND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ScalableSymmetricBetaND::ScalableSymmetricBetaND(double const *,double const *,unsigned int,double)\n"
" npstat::ScalableSymmetricBetaND::ScalableSymmetricBetaND(double const *,unsigned int,double const *,unsigned int,double const)\n");
return 0;
}
SWIGINTERN PyObject *ScalableSymmetricBetaND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ScalableSymmetricBetaND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ScalableHuberND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
npstat::ScalableHuberND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScalableHuberND" "', argument " "1"" of type '" "double const *""'");
}
arg1 = reinterpret_cast< double * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ScalableHuberND" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ScalableHuberND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ScalableHuberND" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::ScalableHuberND *)new npstat::ScalableHuberND((double const *)arg1,(double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ScalableHuberND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_clone" "', argument " "1"" of type '" "npstat::ScalableHuberND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
{
try {
result = (npstat::ScalableHuberND *)((npstat::ScalableHuberND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ScalableHuberND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ScalableHuberND" "', argument " "1"" of type '" "npstat::ScalableHuberND *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::ScalableHuberND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
{
try {
result = (bool)((npstat::ScalableHuberND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_tailWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_tailWeight" "', argument " "1"" of type '" "npstat::ScalableHuberND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
{
try {
result = (double)((npstat::ScalableHuberND const *)arg1)->tailWeight();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_transition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_transition" "', argument " "1"" of type '" "npstat::ScalableHuberND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
{
try {
result = (double)((npstat::ScalableHuberND const *)arg1)->transition();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_classId" "', argument " "1"" of type '" "npstat::ScalableHuberND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
{
try {
result = ((npstat::ScalableHuberND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = (npstat::ScalableHuberND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ScalableHuberND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_write" "', argument " "1"" of type '" "npstat::ScalableHuberND const *""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScalableHuberND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableHuberND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ScalableHuberND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ScalableHuberND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ScalableHuberND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ScalableHuberND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ScalableHuberND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ScalableHuberND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ScalableHuberND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ScalableHuberND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScalableHuberND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableHuberND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScalableHuberND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScalableHuberND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ScalableHuberND *)npstat::ScalableHuberND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ScalableHuberND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::ScalableHuberND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScalableHuberND" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::ScalableHuberND *)new npstat::ScalableHuberND((double const *)arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ScalableHuberND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ScalableHuberND", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ScalableHuberND__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ScalableHuberND__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ScalableHuberND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ScalableHuberND::ScalableHuberND(double const *,double const *,unsigned int,double)\n"
" npstat::ScalableHuberND::ScalableHuberND(double const *,unsigned int,double const *,unsigned int,double const)\n");
return 0;
}
SWIGINTERN PyObject *ScalableHuberND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ScalableHuberND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ScalableHuberND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ProductSymmetricBetaND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
npstat::ProductSymmetricBetaND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ProductSymmetricBetaND" "', argument " "1"" of type '" "double const *""'");
}
arg1 = reinterpret_cast< double * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ProductSymmetricBetaND" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProductSymmetricBetaND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ProductSymmetricBetaND" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::ProductSymmetricBetaND *)new npstat::ProductSymmetricBetaND((double const *)arg1,(double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductSymmetricBetaND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductSymmetricBetaND *arg1 = (npstat::ProductSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ProductSymmetricBetaND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductSymmetricBetaND_clone" "', argument " "1"" of type '" "npstat::ProductSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductSymmetricBetaND * >(argp1);
{
try {
result = (npstat::ProductSymmetricBetaND *)((npstat::ProductSymmetricBetaND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductSymmetricBetaND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ProductSymmetricBetaND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductSymmetricBetaND *arg1 = (npstat::ProductSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductSymmetricBetaND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ProductSymmetricBetaND" "', argument " "1"" of type '" "npstat::ProductSymmetricBetaND *""'");
}
arg1 = reinterpret_cast< npstat::ProductSymmetricBetaND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_power(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductSymmetricBetaND *arg1 = (npstat::ProductSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductSymmetricBetaND_power" "', argument " "1"" of type '" "npstat::ProductSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductSymmetricBetaND * >(argp1);
{
try {
result = (double)((npstat::ProductSymmetricBetaND const *)arg1)->power();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductSymmetricBetaND *arg1 = (npstat::ProductSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductSymmetricBetaND_classId" "', argument " "1"" of type '" "npstat::ProductSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductSymmetricBetaND * >(argp1);
{
try {
result = ((npstat::ProductSymmetricBetaND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductSymmetricBetaND *arg1 = (npstat::ProductSymmetricBetaND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ProductSymmetricBetaND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ProductSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductSymmetricBetaND_write" "', argument " "1"" of type '" "npstat::ProductSymmetricBetaND const *""'");
}
arg1 = reinterpret_cast< npstat::ProductSymmetricBetaND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProductSymmetricBetaND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ProductSymmetricBetaND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ProductSymmetricBetaND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ProductSymmetricBetaND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ProductSymmetricBetaND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ProductSymmetricBetaND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ProductSymmetricBetaND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ProductSymmetricBetaND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ProductSymmetricBetaND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ProductSymmetricBetaND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProductSymmetricBetaND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ProductSymmetricBetaND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ProductSymmetricBetaND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ProductSymmetricBetaND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::ProductSymmetricBetaND *)npstat::ProductSymmetricBetaND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductSymmetricBetaND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductSymmetricBetaND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::ProductSymmetricBetaND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
ecode5 = SWIG_AsVal_double(swig_obj[2], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProductSymmetricBetaND" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::ProductSymmetricBetaND *)new npstat::ProductSymmetricBetaND((double const *)arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductSymmetricBetaND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ProductSymmetricBetaND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ProductSymmetricBetaND", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ProductSymmetricBetaND__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ProductSymmetricBetaND__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ProductSymmetricBetaND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ProductSymmetricBetaND::ProductSymmetricBetaND(double const *,double const *,unsigned int,double)\n"
" npstat::ProductSymmetricBetaND::ProductSymmetricBetaND(double const *,unsigned int,double const *,unsigned int,double const)\n");
return 0;
}
SWIGINTERN PyObject *ProductSymmetricBetaND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ProductSymmetricBetaND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ProductSymmetricBetaND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_RadialProfileND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::RadialProfileND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_clone" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
result = (npstat::RadialProfileND *)((npstat::RadialProfileND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RadialProfileND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_RadialProfileND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RadialProfileND" "', argument " "1"" of type '" "npstat::RadialProfileND *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
result = (bool)((npstat::RadialProfileND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_interpolationDegree" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
result = (unsigned int)((npstat::RadialProfileND const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_profileLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_profileLength" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
result = (unsigned int)((npstat::RadialProfileND const *)arg1)->profileLength();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_profileData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_profileData" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
result = (double *)((npstat::RadialProfileND const *)arg1)->profileData();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_classId" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
{
try {
result = ((npstat::RadialProfileND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = (npstat::RadialProfileND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "RadialProfileND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_write" "', argument " "1"" of type '" "npstat::RadialProfileND const *""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadialProfileND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadialProfileND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::RadialProfileND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "RadialProfileND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::RadialProfileND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "RadialProfileND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::RadialProfileND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_RadialProfileND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::RadialProfileND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "RadialProfileND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadialProfileND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadialProfileND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadialProfileND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadialProfileND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::RadialProfileND *)npstat::RadialProfileND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RadialProfileND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_RadialProfileND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
double *arg5 = (double *) 0 ;
unsigned int arg6 ;
unsigned int arg7 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyArrayObject *array5 = NULL ;
int is_new_object5 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[4] ;
npstat::RadialProfileND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_RadialProfileND", 4, 4, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
npy_intp size[1] = {
-1
};
array5 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object5);
if (!array5 || !require_dimensions(array5, 1) ||
!require_size(array5, size, 1)) SWIG_fail;
arg5 = (double*) array_data(array5);
arg6 = (int) array_size(array5,0);
}
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadialProfileND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::RadialProfileND *)new npstat::RadialProfileND((double const *)arg1,arg2,(double const *)arg3,arg4,(double const *)arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RadialProfileND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
{
if (is_new_object5 && array5)
{
Py_DECREF(array5);
}
}
return NULL;
}
SWIGINTERN PyObject *RadialProfileND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__RadialProfileND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *RadialProfileND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BinnedDensityND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_clone" "', argument " "1"" of type '" "npstat::BinnedDensityND const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
{
try {
result = (npstat::BinnedDensityND *)((npstat::BinnedDensityND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_BinnedDensityND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BinnedDensityND" "', argument " "1"" of type '" "npstat::BinnedDensityND *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::BinnedDensityND const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
{
try {
result = (bool)((npstat::BinnedDensityND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_gridData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_gridData" "', argument " "1"" of type '" "npstat::BinnedDensityND const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::BinnedDensityND const *)arg1)->gridData();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_interpolationDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_interpolationDegree" "', argument " "1"" of type '" "npstat::BinnedDensityND const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
{
try {
result = (unsigned int)((npstat::BinnedDensityND const *)arg1)->interpolationDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_classId" "', argument " "1"" of type '" "npstat::BinnedDensityND const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
{
try {
result = ((npstat::BinnedDensityND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = (npstat::BinnedDensityND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "BinnedDensityND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_write" "', argument " "1"" of type '" "npstat::BinnedDensityND const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BinnedDensityND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BinnedDensityND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::BinnedDensityND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "BinnedDensityND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::BinnedDensityND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "BinnedDensityND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::BinnedDensityND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedDensityND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::BinnedDensityND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "BinnedDensityND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedDensityND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BinnedDensityND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BinnedDensityND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BinnedDensityND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::BinnedDensityND *)npstat::BinnedDensityND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_BinnedDensityND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::ArrayND< double > *arg5 = 0 ;
unsigned int arg6 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[2], &argp5, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< double > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BinnedDensityND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::BinnedDensityND *)new npstat::BinnedDensityND((double const *)arg1,arg2,(double const *)arg3,arg4,(npstat::ArrayND< double > const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_BinnedDensityND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::ArrayND< float > *arg5 = 0 ;
unsigned int arg6 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[2], &argp5, SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< float > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< float > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< float > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BinnedDensityND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::BinnedDensityND *)new npstat::BinnedDensityND((double const *)arg1,arg2,(double const *)arg3,arg4,(npstat::ArrayND< float > const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_BinnedDensityND__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::ArrayND< int > *arg5 = 0 ;
unsigned int arg6 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[2], &argp5, SWIGTYPE_p_npstat__ArrayNDT_int_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< int > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< int > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< int > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BinnedDensityND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::BinnedDensityND *)new npstat::BinnedDensityND((double const *)arg1,arg2,(double const *)arg3,arg4,(npstat::ArrayND< int > const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_BinnedDensityND__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::ArrayND< long > *arg5 = 0 ;
unsigned int arg6 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[2], &argp5, SWIGTYPE_p_npstat__ArrayNDT_long_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< long > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< long > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< long > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BinnedDensityND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::BinnedDensityND *)new npstat::BinnedDensityND((double const *)arg1,arg2,(double const *)arg3,arg4,(npstat::ArrayND< long > const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_BinnedDensityND__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::ArrayND< unsigned char > *arg5 = 0 ;
unsigned int arg6 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::BinnedDensityND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[2], &argp5, SWIGTYPE_p_npstat__ArrayNDT_unsigned_char_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< unsigned char > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BinnedDensityND" "', argument " "5"" of type '" "npstat::ArrayND< unsigned char > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< unsigned char > * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BinnedDensityND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::BinnedDensityND *)new npstat::BinnedDensityND((double const *)arg1,arg2,(double const *)arg3,arg4,(npstat::ArrayND< unsigned char > const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_BinnedDensityND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_BinnedDensityND", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_BinnedDensityND__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_float_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_BinnedDensityND__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_int_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_BinnedDensityND__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_long_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_BinnedDensityND__SWIG_4(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_unsigned_char_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_BinnedDensityND__SWIG_5(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BinnedDensityND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BinnedDensityND::BinnedDensityND(double const *,unsigned int,double const *,unsigned int,npstat::ArrayND< double > const &,unsigned int const)\n"
" npstat::BinnedDensityND::BinnedDensityND(double const *,unsigned int,double const *,unsigned int,npstat::ArrayND< float > const &,unsigned int const)\n"
" npstat::BinnedDensityND::BinnedDensityND(double const *,unsigned int,double const *,unsigned int,npstat::ArrayND< int > const &,unsigned int const)\n"
" npstat::BinnedDensityND::BinnedDensityND(double const *,unsigned int,double const *,unsigned int,npstat::ArrayND< long > const &,unsigned int const)\n"
" npstat::BinnedDensityND::BinnedDensityND(double const *,unsigned int,double const *,unsigned int,npstat::ArrayND< unsigned char > const &,unsigned int const)\n");
return 0;
}
SWIGINTERN PyObject *BinnedDensityND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BinnedDensityND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *BinnedDensityND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LinTransformedDistroND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistributionND *arg1 = 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
npstat::Matrix< double > *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
npstat::LinTransformedDistroND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_LinTransformedDistroND" "', argument " "4"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LinTransformedDistroND" "', argument " "4"" of type '" "npstat::Matrix< double > const &""'");
}
arg4 = reinterpret_cast< npstat::Matrix< double > * >(argp4);
{
try {
result = (npstat::LinTransformedDistroND *)new npstat::LinTransformedDistroND((npstat::AbsDistributionND const &)*arg1,(double const *)arg2,arg3,(npstat::Matrix< double > const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LinTransformedDistroND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::LinTransformedDistroND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const &""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
result = (npstat::LinTransformedDistroND *)new npstat::LinTransformedDistroND((npstat::LinTransformedDistroND const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LinTransformedDistroND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_clone" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
result = (npstat::LinTransformedDistroND *)((npstat::LinTransformedDistroND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LinTransformedDistroND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::LinTransformedDistroND *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_density" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LinTransformedDistroND const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_unitMap" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinTransformedDistroND_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LinTransformedDistroND_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LinTransformedDistroND_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::LinTransformedDistroND const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
result = (bool)((npstat::LinTransformedDistroND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_getShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_getShift", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_getShift" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LinTransformedDistroND_getShift" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LinTransformedDistroND const *)arg1)->getShift(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_getS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_getS" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
result = (npstat::Matrix< double > *) &((npstat::LinTransformedDistroND const *)arg1)->getS();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_getInverseS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_getInverseS" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
result = (npstat::Matrix< double > *) &((npstat::LinTransformedDistroND const *)arg1)->getInverseS();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_classId" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
{
try {
result = ((npstat::LinTransformedDistroND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = (npstat::LinTransformedDistroND *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_write" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const *""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinTransformedDistroND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinTransformedDistroND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LinTransformedDistroND const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LinTransformedDistroND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LinTransformedDistroND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LinTransformedDistroND_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LinTransformedDistroND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LinTransformedDistroND_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LinTransformedDistroND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinTransformedDistroND_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LinTransformedDistroND_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LinTransformedDistroND_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LinTransformedDistroND *)npstat::LinTransformedDistroND::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LinTransformedDistroND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistributionND *arg1 = 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
npstat::LinTransformedDistroND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::AbsDistributionND const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistributionND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
npy_intp size[2] = {
-1, -1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[2], NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 2) ||
!require_size(array4, size, 2)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
arg6 = (int) array_size(array4,1);
}
{
try {
result = (npstat::LinTransformedDistroND *)new npstat::LinTransformedDistroND((npstat::AbsDistributionND const &)*arg1,(double const *)arg2,arg3,(double const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_NEW | 0 );
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LinTransformedDistroND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LinTransformedDistroND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LinTransformedDistroND__SWIG_1(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LinTransformedDistroND__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistributionND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
if (argc <= 3) {
return _wrap_new_LinTransformedDistroND__SWIG_2(self, argc, argv);
}
if (argc <= 4) {
return _wrap_new_LinTransformedDistroND__SWIG_2(self, argc, argv);
}
return _wrap_new_LinTransformedDistroND__SWIG_2(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LinTransformedDistroND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LinTransformedDistroND::LinTransformedDistroND(npstat::AbsDistributionND const &,double const *,unsigned int,npstat::Matrix< double > const &)\n"
" npstat::LinTransformedDistroND::LinTransformedDistroND(npstat::LinTransformedDistroND const &)\n"
" npstat::LinTransformedDistroND::LinTransformedDistroND(npstat::AbsDistributionND const &,double const *,unsigned int,double const *,unsigned int,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *LinTransformedDistroND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LinTransformedDistroND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_ProductDistributionND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::ProductDistributionND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_ProductDistributionND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_ProductDistributionND" "', argument " "1"" of type '" "npstat::ProductDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_ProductDistributionND" "', argument " "1"" of type '" "npstat::ProductDistributionND const &""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_ProductDistributionND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_ProductDistributionND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::ProductDistributionND > *)new gs::ArchiveRecord< npstat::ProductDistributionND >((npstat::ProductDistributionND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ProductDistributionND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_ProductDistributionND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::ProductDistributionND > *arg1 = (gs::ArchiveRecord< npstat::ProductDistributionND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__ProductDistributionND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_ProductDistributionND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::ProductDistributionND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::ProductDistributionND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_ProductDistributionND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__ProductDistributionND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_ProductDistributionND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_105(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ProductDistributionND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::ProductDistributionND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ProductDistributionND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ProductDistributionND const &""'");
}
arg1 = reinterpret_cast< npstat::ProductDistributionND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::ProductDistributionND >((npstat::ProductDistributionND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::ProductDistributionND >(static_cast< const gs::ArchiveRecord< npstat::ProductDistributionND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ProductDistributionND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ProductDistributionND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::ProductDistributionND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_ProductDistributionND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::ProductDistributionND > *)new gs::Reference< npstat::ProductDistributionND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ProductDistributionND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::ProductDistributionND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ProductDistributionND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ProductDistributionND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::ProductDistributionND > *)new gs::Reference< npstat::ProductDistributionND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ProductDistributionND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::ProductDistributionND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ProductDistributionND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ProductDistributionND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ProductDistributionND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ProductDistributionND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::ProductDistributionND > *)new gs::Reference< npstat::ProductDistributionND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ProductDistributionND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ProductDistributionND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_ProductDistributionND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ProductDistributionND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ProductDistributionND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ProductDistributionND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::ProductDistributionND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::ProductDistributionND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::ProductDistributionND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ProductDistributionND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ProductDistributionND > *arg1 = (gs::Reference< npstat::ProductDistributionND > *) 0 ;
unsigned long arg2 ;
npstat::ProductDistributionND *arg3 = (npstat::ProductDistributionND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ProductDistributionND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ProductDistributionND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::ProductDistributionND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ProductDistributionND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ProductDistributionND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ProductDistributionND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ProductDistributionND_restore" "', argument " "3"" of type '" "npstat::ProductDistributionND *""'");
}
arg3 = reinterpret_cast< npstat::ProductDistributionND * >(argp3);
{
try {
((gs::Reference< npstat::ProductDistributionND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ProductDistributionND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ProductDistributionND > *arg1 = (gs::Reference< npstat::ProductDistributionND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ProductDistributionND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ProductDistributionND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ProductDistributionND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::ProductDistributionND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ProductDistributionND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ProductDistributionND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ProductDistributionND *)gs_Reference_Sl_npstat_ProductDistributionND_Sg__retrieve((gs::Reference< npstat::ProductDistributionND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ProductDistributionND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ProductDistributionND > *arg1 = (gs::Reference< npstat::ProductDistributionND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::ProductDistributionND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ProductDistributionND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ProductDistributionND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::ProductDistributionND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ProductDistributionND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ProductDistributionND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_ProductDistributionND_Sg__getValue((gs::Reference< npstat::ProductDistributionND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ProductDistributionND(static_cast< const npstat::ProductDistributionND& >(result))), SWIGTYPE_p_npstat__ProductDistributionND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ProductDistributionND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ProductDistributionND > *arg1 = (gs::Reference< npstat::ProductDistributionND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ProductDistributionND" "', argument " "1"" of type '" "gs::Reference< npstat::ProductDistributionND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ProductDistributionND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_ProductDistributionND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__ProductDistributionND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ProductDistributionND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_GaussND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::GaussND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_GaussND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GaussND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_GaussND" "', argument " "1"" of type '" "npstat::GaussND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_GaussND" "', argument " "1"" of type '" "npstat::GaussND const &""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_GaussND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_GaussND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::GaussND > *)new gs::ArchiveRecord< npstat::GaussND >((npstat::GaussND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__GaussND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_GaussND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::GaussND > *arg1 = (gs::ArchiveRecord< npstat::GaussND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__GaussND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_GaussND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::GaussND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::GaussND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_GaussND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__GaussND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_GaussND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_106(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GaussND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::GaussND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__GaussND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::GaussND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::GaussND const &""'");
}
arg1 = reinterpret_cast< npstat::GaussND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::GaussND >((npstat::GaussND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::GaussND >(static_cast< const gs::ArchiveRecord< npstat::GaussND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__GaussND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GaussND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::GaussND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_GaussND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GaussND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_GaussND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::GaussND > *)new gs::Reference< npstat::GaussND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GaussND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::GaussND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_GaussND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GaussND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_GaussND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_GaussND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::GaussND > *)new gs::Reference< npstat::GaussND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GaussND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::GaussND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_GaussND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GaussND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_GaussND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GaussND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_GaussND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_GaussND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::GaussND > *)new gs::Reference< npstat::GaussND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_GaussND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_GaussND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_GaussND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_GaussND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_GaussND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_GaussND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::GaussND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::GaussND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::GaussND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_GaussND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GaussND > *arg1 = (gs::Reference< npstat::GaussND > *) 0 ;
unsigned long arg2 ;
npstat::GaussND *arg3 = (npstat::GaussND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_GaussND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_GaussND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::GaussND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GaussND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_GaussND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__GaussND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_GaussND_restore" "', argument " "3"" of type '" "npstat::GaussND *""'");
}
arg3 = reinterpret_cast< npstat::GaussND * >(argp3);
{
try {
((gs::Reference< npstat::GaussND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_GaussND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GaussND > *arg1 = (gs::Reference< npstat::GaussND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GaussND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_GaussND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_GaussND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::GaussND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GaussND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_GaussND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::GaussND *)gs_Reference_Sl_npstat_GaussND_Sg__retrieve((gs::Reference< npstat::GaussND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_GaussND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GaussND > *arg1 = (gs::Reference< npstat::GaussND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::GaussND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_GaussND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_GaussND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::GaussND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GaussND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_GaussND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_GaussND_Sg__getValue((gs::Reference< npstat::GaussND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::GaussND(static_cast< const npstat::GaussND& >(result))), SWIGTYPE_p_npstat__GaussND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_GaussND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::GaussND > *arg1 = (gs::Reference< npstat::GaussND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_GaussND" "', argument " "1"" of type '" "gs::Reference< npstat::GaussND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::GaussND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_GaussND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__GaussND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_GaussND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_UniformND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::UniformND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_UniformND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_UniformND" "', argument " "1"" of type '" "npstat::UniformND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_UniformND" "', argument " "1"" of type '" "npstat::UniformND const &""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_UniformND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_UniformND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::UniformND > *)new gs::ArchiveRecord< npstat::UniformND >((npstat::UniformND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__UniformND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_UniformND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::UniformND > *arg1 = (gs::ArchiveRecord< npstat::UniformND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__UniformND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_UniformND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::UniformND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::UniformND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_UniformND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__UniformND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_UniformND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_107(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::UniformND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::UniformND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__UniformND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::UniformND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::UniformND const &""'");
}
arg1 = reinterpret_cast< npstat::UniformND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::UniformND >((npstat::UniformND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::UniformND >(static_cast< const gs::ArchiveRecord< npstat::UniformND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__UniformND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UniformND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::UniformND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_UniformND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UniformND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_UniformND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::UniformND > *)new gs::Reference< npstat::UniformND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UniformND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::UniformND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_UniformND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UniformND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_UniformND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_UniformND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::UniformND > *)new gs::Reference< npstat::UniformND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UniformND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::UniformND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_UniformND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UniformND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_UniformND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UniformND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_UniformND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_UniformND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::UniformND > *)new gs::Reference< npstat::UniformND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_UniformND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_UniformND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_UniformND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_UniformND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_UniformND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_UniformND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::UniformND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::UniformND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::UniformND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_UniformND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::UniformND > *arg1 = (gs::Reference< npstat::UniformND > *) 0 ;
unsigned long arg2 ;
npstat::UniformND *arg3 = (npstat::UniformND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_UniformND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UniformND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::UniformND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::UniformND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UniformND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__UniformND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_UniformND_restore" "', argument " "3"" of type '" "npstat::UniformND *""'");
}
arg3 = reinterpret_cast< npstat::UniformND * >(argp3);
{
try {
((gs::Reference< npstat::UniformND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_UniformND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::UniformND > *arg1 = (gs::Reference< npstat::UniformND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::UniformND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_UniformND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UniformND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::UniformND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::UniformND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UniformND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::UniformND *)gs_Reference_Sl_npstat_UniformND_Sg__retrieve((gs::Reference< npstat::UniformND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_UniformND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::UniformND > *arg1 = (gs::Reference< npstat::UniformND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::UniformND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_UniformND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_UniformND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::UniformND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::UniformND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_UniformND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_UniformND_Sg__getValue((gs::Reference< npstat::UniformND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::UniformND(static_cast< const npstat::UniformND& >(result))), SWIGTYPE_p_npstat__UniformND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_UniformND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::UniformND > *arg1 = (gs::Reference< npstat::UniformND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_UniformND" "', argument " "1"" of type '" "gs::Reference< npstat::UniformND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::UniformND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_UniformND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__UniformND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_UniformND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_ScalableSymmetricBetaND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_ScalableSymmetricBetaND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_ScalableSymmetricBetaND" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_ScalableSymmetricBetaND" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const &""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_ScalableSymmetricBetaND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_ScalableSymmetricBetaND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > *)new gs::ArchiveRecord< npstat::ScalableSymmetricBetaND >((npstat::ScalableSymmetricBetaND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_ScalableSymmetricBetaND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > *arg1 = (gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_ScalableSymmetricBetaND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableSymmetricBetaND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_ScalableSymmetricBetaND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_108(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ScalableSymmetricBetaND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::ScalableSymmetricBetaND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ScalableSymmetricBetaND const &""'");
}
arg1 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::ScalableSymmetricBetaND >((npstat::ScalableSymmetricBetaND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::ScalableSymmetricBetaND >(static_cast< const gs::ArchiveRecord< npstat::ScalableSymmetricBetaND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableSymmetricBetaND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::ScalableSymmetricBetaND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::ScalableSymmetricBetaND > *)new gs::Reference< npstat::ScalableSymmetricBetaND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableSymmetricBetaND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::ScalableSymmetricBetaND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::ScalableSymmetricBetaND > *)new gs::Reference< npstat::ScalableSymmetricBetaND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableSymmetricBetaND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::ScalableSymmetricBetaND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableSymmetricBetaND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::ScalableSymmetricBetaND > *)new gs::Reference< npstat::ScalableSymmetricBetaND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableSymmetricBetaND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ScalableSymmetricBetaND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_ScalableSymmetricBetaND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ScalableSymmetricBetaND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ScalableSymmetricBetaND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ScalableSymmetricBetaND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::ScalableSymmetricBetaND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::ScalableSymmetricBetaND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::ScalableSymmetricBetaND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ScalableSymmetricBetaND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableSymmetricBetaND > *arg1 = (gs::Reference< npstat::ScalableSymmetricBetaND > *) 0 ;
unsigned long arg2 ;
npstat::ScalableSymmetricBetaND *arg3 = (npstat::ScalableSymmetricBetaND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ScalableSymmetricBetaND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ScalableSymmetricBetaND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableSymmetricBetaND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableSymmetricBetaND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ScalableSymmetricBetaND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ScalableSymmetricBetaND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ScalableSymmetricBetaND_restore" "', argument " "3"" of type '" "npstat::ScalableSymmetricBetaND *""'");
}
arg3 = reinterpret_cast< npstat::ScalableSymmetricBetaND * >(argp3);
{
try {
((gs::Reference< npstat::ScalableSymmetricBetaND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ScalableSymmetricBetaND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableSymmetricBetaND > *arg1 = (gs::Reference< npstat::ScalableSymmetricBetaND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ScalableSymmetricBetaND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ScalableSymmetricBetaND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ScalableSymmetricBetaND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableSymmetricBetaND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableSymmetricBetaND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ScalableSymmetricBetaND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ScalableSymmetricBetaND *)gs_Reference_Sl_npstat_ScalableSymmetricBetaND_Sg__retrieve((gs::Reference< npstat::ScalableSymmetricBetaND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ScalableSymmetricBetaND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableSymmetricBetaND > *arg1 = (gs::Reference< npstat::ScalableSymmetricBetaND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::ScalableSymmetricBetaND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ScalableSymmetricBetaND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ScalableSymmetricBetaND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableSymmetricBetaND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableSymmetricBetaND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ScalableSymmetricBetaND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_ScalableSymmetricBetaND_Sg__getValue((gs::Reference< npstat::ScalableSymmetricBetaND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ScalableSymmetricBetaND(static_cast< const npstat::ScalableSymmetricBetaND& >(result))), SWIGTYPE_p_npstat__ScalableSymmetricBetaND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ScalableSymmetricBetaND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableSymmetricBetaND > *arg1 = (gs::Reference< npstat::ScalableSymmetricBetaND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ScalableSymmetricBetaND" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableSymmetricBetaND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableSymmetricBetaND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_ScalableSymmetricBetaND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__ScalableSymmetricBetaND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ScalableSymmetricBetaND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_ScalableHuberND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::ScalableHuberND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_ScalableHuberND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_ScalableHuberND" "', argument " "1"" of type '" "npstat::ScalableHuberND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_ScalableHuberND" "', argument " "1"" of type '" "npstat::ScalableHuberND const &""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_ScalableHuberND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_ScalableHuberND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::ScalableHuberND > *)new gs::ArchiveRecord< npstat::ScalableHuberND >((npstat::ScalableHuberND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableHuberND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_ScalableHuberND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::ScalableHuberND > *arg1 = (gs::ArchiveRecord< npstat::ScalableHuberND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableHuberND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_ScalableHuberND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::ScalableHuberND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::ScalableHuberND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_ScalableHuberND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableHuberND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_ScalableHuberND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_109(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ScalableHuberND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::ScalableHuberND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ScalableHuberND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ScalableHuberND const &""'");
}
arg1 = reinterpret_cast< npstat::ScalableHuberND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::ScalableHuberND >((npstat::ScalableHuberND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::ScalableHuberND >(static_cast< const gs::ArchiveRecord< npstat::ScalableHuberND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ScalableHuberND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableHuberND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::ScalableHuberND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_ScalableHuberND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::ScalableHuberND > *)new gs::Reference< npstat::ScalableHuberND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableHuberND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::ScalableHuberND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ScalableHuberND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ScalableHuberND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::ScalableHuberND > *)new gs::Reference< npstat::ScalableHuberND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableHuberND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::ScalableHuberND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ScalableHuberND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableHuberND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ScalableHuberND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ScalableHuberND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::ScalableHuberND > *)new gs::Reference< npstat::ScalableHuberND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ScalableHuberND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ScalableHuberND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_ScalableHuberND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ScalableHuberND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ScalableHuberND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ScalableHuberND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::ScalableHuberND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::ScalableHuberND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::ScalableHuberND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ScalableHuberND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableHuberND > *arg1 = (gs::Reference< npstat::ScalableHuberND > *) 0 ;
unsigned long arg2 ;
npstat::ScalableHuberND *arg3 = (npstat::ScalableHuberND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ScalableHuberND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ScalableHuberND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableHuberND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableHuberND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ScalableHuberND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ScalableHuberND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ScalableHuberND_restore" "', argument " "3"" of type '" "npstat::ScalableHuberND *""'");
}
arg3 = reinterpret_cast< npstat::ScalableHuberND * >(argp3);
{
try {
((gs::Reference< npstat::ScalableHuberND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ScalableHuberND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableHuberND > *arg1 = (gs::Reference< npstat::ScalableHuberND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ScalableHuberND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ScalableHuberND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ScalableHuberND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableHuberND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableHuberND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ScalableHuberND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ScalableHuberND *)gs_Reference_Sl_npstat_ScalableHuberND_Sg__retrieve((gs::Reference< npstat::ScalableHuberND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ScalableHuberND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableHuberND > *arg1 = (gs::Reference< npstat::ScalableHuberND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::ScalableHuberND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ScalableHuberND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ScalableHuberND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableHuberND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableHuberND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ScalableHuberND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_ScalableHuberND_Sg__getValue((gs::Reference< npstat::ScalableHuberND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ScalableHuberND(static_cast< const npstat::ScalableHuberND& >(result))), SWIGTYPE_p_npstat__ScalableHuberND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ScalableHuberND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ScalableHuberND > *arg1 = (gs::Reference< npstat::ScalableHuberND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ScalableHuberND" "', argument " "1"" of type '" "gs::Reference< npstat::ScalableHuberND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ScalableHuberND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_ScalableHuberND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__ScalableHuberND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ScalableHuberND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_RadialProfileND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::RadialProfileND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_RadialProfileND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__RadialProfileND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_RadialProfileND" "', argument " "1"" of type '" "npstat::RadialProfileND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_RadialProfileND" "', argument " "1"" of type '" "npstat::RadialProfileND const &""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_RadialProfileND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_RadialProfileND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::RadialProfileND > *)new gs::ArchiveRecord< npstat::RadialProfileND >((npstat::RadialProfileND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__RadialProfileND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_RadialProfileND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::RadialProfileND > *arg1 = (gs::ArchiveRecord< npstat::RadialProfileND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__RadialProfileND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_RadialProfileND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::RadialProfileND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::RadialProfileND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_RadialProfileND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__RadialProfileND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_RadialProfileND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_110(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::RadialProfileND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::RadialProfileND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__RadialProfileND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::RadialProfileND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::RadialProfileND const &""'");
}
arg1 = reinterpret_cast< npstat::RadialProfileND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::RadialProfileND >((npstat::RadialProfileND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::RadialProfileND >(static_cast< const gs::ArchiveRecord< npstat::RadialProfileND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__RadialProfileND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_RadialProfileND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::RadialProfileND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_RadialProfileND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::RadialProfileND > *)new gs::Reference< npstat::RadialProfileND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_RadialProfileND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::RadialProfileND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_RadialProfileND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_RadialProfileND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::RadialProfileND > *)new gs::Reference< npstat::RadialProfileND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_RadialProfileND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::RadialProfileND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_RadialProfileND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RadialProfileND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_RadialProfileND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_RadialProfileND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::RadialProfileND > *)new gs::Reference< npstat::RadialProfileND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_RadialProfileND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_RadialProfileND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_RadialProfileND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_RadialProfileND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_RadialProfileND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_RadialProfileND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::RadialProfileND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::RadialProfileND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::RadialProfileND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_RadialProfileND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RadialProfileND > *arg1 = (gs::Reference< npstat::RadialProfileND > *) 0 ;
unsigned long arg2 ;
npstat::RadialProfileND *arg3 = (npstat::RadialProfileND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_RadialProfileND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_RadialProfileND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::RadialProfileND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RadialProfileND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_RadialProfileND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__RadialProfileND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_RadialProfileND_restore" "', argument " "3"" of type '" "npstat::RadialProfileND *""'");
}
arg3 = reinterpret_cast< npstat::RadialProfileND * >(argp3);
{
try {
((gs::Reference< npstat::RadialProfileND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_RadialProfileND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RadialProfileND > *arg1 = (gs::Reference< npstat::RadialProfileND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::RadialProfileND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_RadialProfileND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_RadialProfileND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::RadialProfileND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RadialProfileND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_RadialProfileND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::RadialProfileND *)gs_Reference_Sl_npstat_RadialProfileND_Sg__retrieve((gs::Reference< npstat::RadialProfileND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__RadialProfileND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_RadialProfileND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RadialProfileND > *arg1 = (gs::Reference< npstat::RadialProfileND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::RadialProfileND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_RadialProfileND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_RadialProfileND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::RadialProfileND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RadialProfileND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_RadialProfileND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_RadialProfileND_Sg__getValue((gs::Reference< npstat::RadialProfileND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::RadialProfileND(static_cast< const npstat::RadialProfileND& >(result))), SWIGTYPE_p_npstat__RadialProfileND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_RadialProfileND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::RadialProfileND > *arg1 = (gs::Reference< npstat::RadialProfileND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_RadialProfileND" "', argument " "1"" of type '" "gs::Reference< npstat::RadialProfileND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::RadialProfileND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_RadialProfileND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__RadialProfileND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_RadialProfileND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_BinnedDensityND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::BinnedDensityND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_BinnedDensityND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_BinnedDensityND" "', argument " "1"" of type '" "npstat::BinnedDensityND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_BinnedDensityND" "', argument " "1"" of type '" "npstat::BinnedDensityND const &""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_BinnedDensityND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_BinnedDensityND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::BinnedDensityND > *)new gs::ArchiveRecord< npstat::BinnedDensityND >((npstat::BinnedDensityND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__BinnedDensityND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_BinnedDensityND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::BinnedDensityND > *arg1 = (gs::ArchiveRecord< npstat::BinnedDensityND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__BinnedDensityND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_BinnedDensityND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::BinnedDensityND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::BinnedDensityND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_BinnedDensityND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__BinnedDensityND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_BinnedDensityND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_111(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BinnedDensityND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::BinnedDensityND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::BinnedDensityND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::BinnedDensityND const &""'");
}
arg1 = reinterpret_cast< npstat::BinnedDensityND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::BinnedDensityND >((npstat::BinnedDensityND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::BinnedDensityND >(static_cast< const gs::ArchiveRecord< npstat::BinnedDensityND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__BinnedDensityND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_BinnedDensityND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::BinnedDensityND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_BinnedDensityND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::BinnedDensityND > *)new gs::Reference< npstat::BinnedDensityND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_BinnedDensityND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::BinnedDensityND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_BinnedDensityND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_BinnedDensityND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::BinnedDensityND > *)new gs::Reference< npstat::BinnedDensityND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_BinnedDensityND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::BinnedDensityND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_BinnedDensityND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_BinnedDensityND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_BinnedDensityND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_BinnedDensityND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::BinnedDensityND > *)new gs::Reference< npstat::BinnedDensityND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_BinnedDensityND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_BinnedDensityND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_BinnedDensityND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_BinnedDensityND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_BinnedDensityND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_BinnedDensityND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::BinnedDensityND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::BinnedDensityND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::BinnedDensityND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_BinnedDensityND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::BinnedDensityND > *arg1 = (gs::Reference< npstat::BinnedDensityND > *) 0 ;
unsigned long arg2 ;
npstat::BinnedDensityND *arg3 = (npstat::BinnedDensityND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_BinnedDensityND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_BinnedDensityND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::BinnedDensityND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::BinnedDensityND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_BinnedDensityND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__BinnedDensityND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_BinnedDensityND_restore" "', argument " "3"" of type '" "npstat::BinnedDensityND *""'");
}
arg3 = reinterpret_cast< npstat::BinnedDensityND * >(argp3);
{
try {
((gs::Reference< npstat::BinnedDensityND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_BinnedDensityND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::BinnedDensityND > *arg1 = (gs::Reference< npstat::BinnedDensityND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::BinnedDensityND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_BinnedDensityND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_BinnedDensityND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::BinnedDensityND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::BinnedDensityND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_BinnedDensityND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::BinnedDensityND *)gs_Reference_Sl_npstat_BinnedDensityND_Sg__retrieve((gs::Reference< npstat::BinnedDensityND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_BinnedDensityND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::BinnedDensityND > *arg1 = (gs::Reference< npstat::BinnedDensityND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::BinnedDensityND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_BinnedDensityND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_BinnedDensityND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::BinnedDensityND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::BinnedDensityND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_BinnedDensityND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_BinnedDensityND_Sg__getValue((gs::Reference< npstat::BinnedDensityND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::BinnedDensityND(static_cast< const npstat::BinnedDensityND& >(result))), SWIGTYPE_p_npstat__BinnedDensityND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_BinnedDensityND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::BinnedDensityND > *arg1 = (gs::Reference< npstat::BinnedDensityND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_BinnedDensityND" "', argument " "1"" of type '" "gs::Reference< npstat::BinnedDensityND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::BinnedDensityND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_BinnedDensityND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__BinnedDensityND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_BinnedDensityND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_LinTransformedDistroND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::LinTransformedDistroND > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_LinTransformedDistroND", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_LinTransformedDistroND" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const &""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_LinTransformedDistroND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_LinTransformedDistroND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::LinTransformedDistroND > *)new gs::ArchiveRecord< npstat::LinTransformedDistroND >((npstat::LinTransformedDistroND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LinTransformedDistroND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_LinTransformedDistroND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::LinTransformedDistroND > *arg1 = (gs::ArchiveRecord< npstat::LinTransformedDistroND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__LinTransformedDistroND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_LinTransformedDistroND" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::LinTransformedDistroND > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::LinTransformedDistroND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_LinTransformedDistroND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__LinTransformedDistroND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_LinTransformedDistroND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_112(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LinTransformedDistroND *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::LinTransformedDistroND > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LinTransformedDistroND const &""'");
}
arg1 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::LinTransformedDistroND >((npstat::LinTransformedDistroND const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::LinTransformedDistroND >(static_cast< const gs::ArchiveRecord< npstat::LinTransformedDistroND >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LinTransformedDistroND_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LinTransformedDistroND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::LinTransformedDistroND > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::LinTransformedDistroND > *)new gs::Reference< npstat::LinTransformedDistroND >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LinTransformedDistroND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::LinTransformedDistroND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::LinTransformedDistroND > *)new gs::Reference< npstat::LinTransformedDistroND >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LinTransformedDistroND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::LinTransformedDistroND > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LinTransformedDistroND" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LinTransformedDistroND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LinTransformedDistroND" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::LinTransformedDistroND > *)new gs::Reference< npstat::LinTransformedDistroND >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LinTransformedDistroND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LinTransformedDistroND", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_LinTransformedDistroND__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LinTransformedDistroND__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LinTransformedDistroND__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LinTransformedDistroND'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::LinTransformedDistroND >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::LinTransformedDistroND >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::LinTransformedDistroND >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LinTransformedDistroND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LinTransformedDistroND > *arg1 = (gs::Reference< npstat::LinTransformedDistroND > *) 0 ;
unsigned long arg2 ;
npstat::LinTransformedDistroND *arg3 = (npstat::LinTransformedDistroND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LinTransformedDistroND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LinTransformedDistroND_restore" "', argument " "1"" of type '" "gs::Reference< npstat::LinTransformedDistroND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LinTransformedDistroND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LinTransformedDistroND_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__LinTransformedDistroND, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LinTransformedDistroND_restore" "', argument " "3"" of type '" "npstat::LinTransformedDistroND *""'");
}
arg3 = reinterpret_cast< npstat::LinTransformedDistroND * >(argp3);
{
try {
((gs::Reference< npstat::LinTransformedDistroND > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LinTransformedDistroND_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LinTransformedDistroND > *arg1 = (gs::Reference< npstat::LinTransformedDistroND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LinTransformedDistroND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LinTransformedDistroND_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LinTransformedDistroND_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::LinTransformedDistroND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LinTransformedDistroND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LinTransformedDistroND_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::LinTransformedDistroND *)gs_Reference_Sl_npstat_LinTransformedDistroND_Sg__retrieve((gs::Reference< npstat::LinTransformedDistroND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LinTransformedDistroND_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LinTransformedDistroND > *arg1 = (gs::Reference< npstat::LinTransformedDistroND > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::LinTransformedDistroND > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LinTransformedDistroND_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LinTransformedDistroND_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::LinTransformedDistroND > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LinTransformedDistroND > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LinTransformedDistroND_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_LinTransformedDistroND_Sg__getValue((gs::Reference< npstat::LinTransformedDistroND > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LinTransformedDistroND(static_cast< const npstat::LinTransformedDistroND& >(result))), SWIGTYPE_p_npstat__LinTransformedDistroND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LinTransformedDistroND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LinTransformedDistroND > *arg1 = (gs::Reference< npstat::LinTransformedDistroND > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LinTransformedDistroND" "', argument " "1"" of type '" "gs::Reference< npstat::LinTransformedDistroND > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LinTransformedDistroND > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_LinTransformedDistroND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__LinTransformedDistroND_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LinTransformedDistroND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "polyExpectation" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "polyExpectation" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "polyExpectation" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "polyExpectation" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "polyExpectation" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "polyExpectation" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ContOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ContOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ContOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ContOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ContOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "polyExpectation" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "polyExpectation" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::ContOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ContOrthoPoly1D const &)*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ContOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ContOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ContOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ContOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ContOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "polyExpectation" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::ContOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ContOrthoPoly1D const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ContOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ContOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ContOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "polyExpectation" "', argument " "2"" of type '" "npstat::ContOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ContOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "polyExpectation" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::SWIGTEMPLATEDISAMBIGUATOR polyExpectation< npstat::ContOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ContOrthoPoly1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_polyExpectation(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "polyExpectation", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_8(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ContOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_11(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_4(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ContOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_10(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_7(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ContOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_9(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_3(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_polyExpectation__SWIG_6(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'polyExpectation'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::polyExpectation< npstat::AbsClassicalOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,unsigned int,unsigned int,bool)\n"
" npstat::polyExpectation< npstat::AbsClassicalOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,unsigned int,unsigned int)\n"
" npstat::polyExpectation< npstat::AbsClassicalOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,unsigned int)\n"
" npstat::polyExpectation< npstat::ScalableClassicalOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,unsigned int,unsigned int,bool)\n"
" npstat::polyExpectation< npstat::ScalableClassicalOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,unsigned int,unsigned int)\n"
" npstat::polyExpectation< npstat::ScalableClassicalOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,unsigned int)\n"
" npstat::polyExpectation< npstat::ContOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::ContOrthoPoly1D const &,unsigned int,unsigned int,bool)\n"
" npstat::polyExpectation< npstat::ContOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::ContOrthoPoly1D const &,unsigned int,unsigned int)\n"
" npstat::polyExpectation< npstat::ContOrthoPoly1D >(npstat::AbsDistribution1D const &,npstat::ContOrthoPoly1D const &,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_AbsCGF1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsCGF1D" "', argument " "1"" of type '" "npstat::AbsCGF1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsCGF1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_clone" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
{
try {
result = (npstat::AbsCGF1D *)((npstat::AbsCGF1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsCGF1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_shiftAndScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::AbsCGF1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_shiftAndScale", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_shiftAndScale" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_shiftAndScale" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsCGF1D_shiftAndScale" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::AbsCGF1D *)((npstat::AbsCGF1D const *)arg1)->shiftAndScale(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsCGF1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_smin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_smin" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->smin();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_smax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_smax" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->smax();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D___call__" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D___call__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->operator ()(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_derivative(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_derivative", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_derivative" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_derivative" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsCGF1D_derivative" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->derivative(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_saddlepoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_saddlepoint", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_saddlepoint" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_saddlepoint" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->saddlepoint(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_convexLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_convexLimit", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_convexLimit" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_convexLimit" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsCGF1D_convexLimit" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->convexLimit(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_standardizedCumulant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_standardizedCumulant", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_standardizedCumulant" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_standardizedCumulant" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsCGF1D_standardizedCumulant" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->standardizedCumulant(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_saddlepointDensityApprox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_saddlepointDensityApprox", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_saddlepointDensityApprox" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_saddlepointDensityApprox" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsCGF1D_saddlepointDensityApprox" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->saddlepointDensityApprox(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D_lugannaniRiceSFApprox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D_lugannaniRiceSFApprox", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D_lugannaniRiceSFApprox" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsCGF1D_lugannaniRiceSFApprox" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsCGF1D_lugannaniRiceSFApprox" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::AbsCGF1D const *)arg1)->lugannaniRiceSFApprox(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
npstat::AbsCGF1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D___eq__" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsCGF1D___eq__" "', argument " "2"" of type '" "npstat::AbsCGF1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsCGF1D___eq__" "', argument " "2"" of type '" "npstat::AbsCGF1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsCGF1D * >(argp2);
{
try {
result = (bool)((npstat::AbsCGF1D const *)arg1)->operator ==((npstat::AbsCGF1D const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_AbsCGF1D___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = (npstat::AbsCGF1D *) 0 ;
npstat::AbsCGF1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "AbsCGF1D___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsCGF1D___ne__" "', argument " "1"" of type '" "npstat::AbsCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsCGF1D___ne__" "', argument " "2"" of type '" "npstat::AbsCGF1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsCGF1D___ne__" "', argument " "2"" of type '" "npstat::AbsCGF1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsCGF1D * >(argp2);
{
try {
result = (bool)((npstat::AbsCGF1D const *)arg1)->operator !=((npstat::AbsCGF1D const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *AbsCGF1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsCGF1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_saddlepointDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsCGF1D *arg1 = 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
double arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
npstat::Tabulated1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "saddlepointDistribution1D", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsCGF1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "saddlepointDistribution1D" "', argument " "1"" of type '" "npstat::AbsCGF1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "saddlepointDistribution1D" "', argument " "1"" of type '" "npstat::AbsCGF1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "saddlepointDistribution1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "saddlepointDistribution1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "saddlepointDistribution1D" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "saddlepointDistribution1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "saddlepointDistribution1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (npstat::Tabulated1D *)npstat::saddlepointDistribution1D_2((npstat::AbsCGF1D const &)*arg1,arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__Tabulated1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_AbsUnbinnedGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsUnbinnedGOFTest1D" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_getNull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_getNull" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::AbsUnbinnedGOFTest1D const *)arg1)->getNull();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_shortName" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
{
try {
result = ((npstat::AbsUnbinnedGOFTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_testStatistic" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsUnbinnedGOFTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::AbsUnbinnedGOFTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_testStatistic" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsUnbinnedGOFTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::AbsUnbinnedGOFTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnbinnedGOFTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsUnbinnedGOFTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsUnbinnedGOFTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnbinnedGOFTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnbinnedGOFTest1D::testStatistic(double const *,unsigned long,bool) const\n"
" npstat::AbsUnbinnedGOFTest1D::testStatistic(float const *,unsigned long,bool) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_analyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnbinnedGOFTest1D_analyticPValue", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_analyticPValue" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsUnbinnedGOFTest1D_analyticPValue" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsUnbinnedGOFTest1D_analyticPValue" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::AbsUnbinnedGOFTest1D const *)arg1)->analyticPValue(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_hasAnalyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_hasAnalyticPValue" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
{
try {
result = (bool)((npstat::AbsUnbinnedGOFTest1D const *)arg1)->hasAnalyticPValue();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_inverseExceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
double arg4 ;
double arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnbinnedGOFTest1D_inverseExceedance", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_inverseExceedance" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsUnbinnedGOFTest1D_inverseExceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsUnbinnedGOFTest1D_inverseExceedance" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsUnbinnedGOFTest1D_inverseExceedance" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsUnbinnedGOFTest1D_inverseExceedance" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (double)((npstat::AbsUnbinnedGOFTest1D const *)arg1)->inverseExceedance(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_simulateStatistic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
npstat::AbsRandomGenerator *arg2 = 0 ;
unsigned long arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnbinnedGOFTest1D_simulateStatistic", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_simulateStatistic" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnbinnedGOFTest1D_simulateStatistic" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnbinnedGOFTest1D_simulateStatistic" "', argument " "2"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg2 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsUnbinnedGOFTest1D_simulateStatistic" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsUnbinnedGOFTest1D_simulateStatistic" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = ((npstat::AbsUnbinnedGOFTest1D const *)arg1)->simulateStatistic2(*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnbinnedGOFTest1D_simulateAltStatistic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = (npstat::AbsUnbinnedGOFTest1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
npstat::AbsRandomGenerator *arg3 = 0 ;
unsigned long arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnbinnedGOFTest1D_simulateAltStatistic", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "3"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "3"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg3 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsUnbinnedGOFTest1D_simulateAltStatistic" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = ((npstat::AbsUnbinnedGOFTest1D const *)arg1)->simulateAltStatistic2((npstat::AbsDistribution1D const &)*arg2,*arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AbsUnbinnedGOFTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_GOFTest1DPVFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnbinnedGOFTest1D *arg1 = 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GOFTest1DPVFunctor *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_GOFTest1DPVFunctor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GOFTest1DPVFunctor" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GOFTest1DPVFunctor" "', argument " "1"" of type '" "npstat::AbsUnbinnedGOFTest1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsUnbinnedGOFTest1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GOFTest1DPVFunctor" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::GOFTest1DPVFunctor *)new npstat::GOFTest1DPVFunctor((npstat::AbsUnbinnedGOFTest1D const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GOFTest1DPVFunctor, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_GOFTest1DPVFunctor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GOFTest1DPVFunctor *arg1 = (npstat::GOFTest1DPVFunctor *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GOFTest1DPVFunctor, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GOFTest1DPVFunctor" "', argument " "1"" of type '" "npstat::GOFTest1DPVFunctor *""'");
}
arg1 = reinterpret_cast< npstat::GOFTest1DPVFunctor * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GOFTest1DPVFunctor___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GOFTest1DPVFunctor *arg1 = (npstat::GOFTest1DPVFunctor *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GOFTest1DPVFunctor___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GOFTest1DPVFunctor, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GOFTest1DPVFunctor___call__" "', argument " "1"" of type '" "npstat::GOFTest1DPVFunctor const *""'");
}
arg1 = reinterpret_cast< npstat::GOFTest1DPVFunctor * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GOFTest1DPVFunctor___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::GOFTest1DPVFunctor const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GOFTest1DPVFunctor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GOFTest1DPVFunctor, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GOFTest1DPVFunctor_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsSmoothGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_maxDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_maxDegree" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
try {
result = (unsigned int)((npstat::AbsSmoothGOFTest1D const *)arg1)->maxDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_nDegreesUsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_nDegreesUsed" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
try {
result = (unsigned int)((npstat::AbsSmoothGOFTest1D const *)arg1)->nDegreesUsed();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_isDegreeUsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_isDegreeUsed", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_isDegreeUsed" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsSmoothGOFTest1D_isDegreeUsed" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (bool)((npstat::AbsSmoothGOFTest1D const *)arg1)->isDegreeUsed(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_testStatistic" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsSmoothGOFTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::AbsSmoothGOFTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_testStatistic" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsSmoothGOFTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::AbsSmoothGOFTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsSmoothGOFTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsSmoothGOFTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsSmoothGOFTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsSmoothGOFTest1D::testStatistic(double const *,unsigned long,bool) const\n"
" npstat::AbsSmoothGOFTest1D::testStatistic(float const *,unsigned long,bool) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_hasAnalyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_hasAnalyticPValue" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
try {
result = (bool)((npstat::AbsSmoothGOFTest1D const *)arg1)->hasAnalyticPValue();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_analyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_analyticPValue", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_analyticPValue" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsSmoothGOFTest1D_analyticPValue" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsSmoothGOFTest1D_analyticPValue" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::AbsSmoothGOFTest1D const *)arg1)->analyticPValue(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_inverseExceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
double arg4 ;
double arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_inverseExceedance", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_inverseExceedance" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsSmoothGOFTest1D_inverseExceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsSmoothGOFTest1D_inverseExceedance" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsSmoothGOFTest1D_inverseExceedance" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsSmoothGOFTest1D_inverseExceedance" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (double)((npstat::AbsSmoothGOFTest1D const *)arg1)->inverseExceedance(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_directedStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned long arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
bool val6 ;
int ecode6 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_directedStatistic" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
ecode6 = SWIG_AsVal_bool(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsSmoothGOFTest1D_directedStatistic" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (double)((npstat::AbsSmoothGOFTest1D const *)arg1)->directedStatistic((double const *)arg2,arg3,(double const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_directedStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
float *arg4 = (float *) 0 ;
unsigned long arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
bool val6 ;
int ecode6 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_directedStatistic" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_FLOAT,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (float*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
ecode6 = SWIG_AsVal_bool(swig_obj[3], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsSmoothGOFTest1D_directedStatistic" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (double)((npstat::AbsSmoothGOFTest1D const *)arg1)->directedStatistic((double const *)arg2,arg3,(float const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_directedStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_directedStatistic", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsSmoothGOFTest1D_directedStatistic__SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
_v = is_array(argv[2]) || PySequence_Check(argv[2]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsSmoothGOFTest1D_directedStatistic__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsSmoothGOFTest1D_directedStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsSmoothGOFTest1D::directedStatistic(double const *,unsigned int,double const *,unsigned long,bool) const\n"
" npstat::AbsSmoothGOFTest1D::directedStatistic(double const *,unsigned int,float const *,unsigned long,bool) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_normalizedDeviations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[3] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_normalizedDeviations", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_normalizedDeviations" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsSmoothGOFTest1D_normalizedDeviations" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = ((npstat::AbsSmoothGOFTest1D const *)arg1)->normalizedDeviations2((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_simulateDirectedStatistic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
npstat::AbsRandomGenerator *arg4 = 0 ;
unsigned long arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned long val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[5] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_simulateDirectedStatistic", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_simulateDirectedStatistic" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsSmoothGOFTest1D_simulateDirectedStatistic" "', argument " "4"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsSmoothGOFTest1D_simulateDirectedStatistic" "', argument " "4"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg4 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsSmoothGOFTest1D_simulateDirectedStatistic" "', argument " "5"" of type '" "unsigned long""'");
}
arg5 = static_cast< unsigned long >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsSmoothGOFTest1D_simulateDirectedStatistic" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = ((npstat::AbsSmoothGOFTest1D const *)arg1)->simulateDirectedStatistic2((double const *)arg2,arg3,*arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsSmoothGOFTest1D_simulateAltDirectedStatistic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsSmoothGOFTest1D *arg1 = (npstat::AbsSmoothGOFTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsRandomGenerator *arg5 = 0 ;
unsigned long arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned long val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
std::vector< double,std::allocator< double > > result;
if (!SWIG_Python_UnpackTuple(args, "AbsSmoothGOFTest1D_simulateAltDirectedStatistic", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "1"" of type '" "npstat::AbsSmoothGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsSmoothGOFTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__AbsRandomGenerator, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "5"" of type '" "npstat::AbsRandomGenerator &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "5"" of type '" "npstat::AbsRandomGenerator &""'");
}
arg5 = reinterpret_cast< npstat::AbsRandomGenerator * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_long(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "6"" of type '" "unsigned long""'");
}
arg6 = static_cast< unsigned long >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsSmoothGOFTest1D_simulateAltDirectedStatistic" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = ((npstat::AbsSmoothGOFTest1D const *)arg1)->simulateAltDirectedStatistic2((double const *)arg2,arg3,(npstat::AbsDistribution1D const &)*arg4,*arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsSmoothGOFTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsSmoothGOFTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_SineGOFTest1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned char *arg4 = (unsigned char *) 0 ;
- unsigned int arg5 ;
+ unsigned char *arg3 = (unsigned char *) 0 ;
+ unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- void *argp4 = 0 ;
- int res4 = 0 ;
- unsigned int val5 ;
- int ecode5 = 0 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
+ unsigned int val4 ;
+ int ecode4 = 0 ;
npstat::SineGOFTest1D *result = 0 ;
- if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
+ if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SineGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SineGOFTest1D" "', argument " "4"" of type '" "unsigned char const *""'");
+ res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "unsigned char const *""'");
}
- arg4 = reinterpret_cast< unsigned char * >(argp4);
- ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
- if (!SWIG_IsOK(ecode5)) {
- SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SineGOFTest1D" "', argument " "5"" of type '" "unsigned int""'");
+ arg3 = reinterpret_cast< unsigned char * >(argp3);
+ ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
+ if (!SWIG_IsOK(ecode4)) {
+ SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SineGOFTest1D" "', argument " "4"" of type '" "unsigned int""'");
}
- arg5 = static_cast< unsigned int >(val5);
+ arg4 = static_cast< unsigned int >(val4);
{
try {
- result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,arg3,(unsigned char const *)arg4,arg5);
+ result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,(unsigned char const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SineGOFTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SineGOFTest1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
- unsigned int arg3 ;
- unsigned char *arg4 = (unsigned char *) 0 ;
+ unsigned char *arg3 = (unsigned char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
- void *argp4 = 0 ;
- int res4 = 0 ;
+ void *argp3 = 0 ;
+ int res3 = 0 ;
npstat::SineGOFTest1D *result = 0 ;
- if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
+ if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SineGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
- res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
- if (!SWIG_IsOK(res4)) {
- SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SineGOFTest1D" "', argument " "4"" of type '" "unsigned char const *""'");
+ res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 );
+ if (!SWIG_IsOK(res3)) {
+ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "unsigned char const *""'");
}
- arg4 = reinterpret_cast< unsigned char * >(argp4);
+ arg3 = reinterpret_cast< unsigned char * >(argp3);
{
try {
- result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,arg3,(unsigned char const *)arg4);
+ result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,(unsigned char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SineGOFTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SineGOFTest1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
- unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
- unsigned int val3 ;
- int ecode3 = 0 ;
npstat::SineGOFTest1D *result = 0 ;
- if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
+ if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SineGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
- ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
- if (!SWIG_IsOK(ecode3)) {
- SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
- }
- arg3 = static_cast< unsigned int >(val3);
{
try {
- result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,arg3);
+ result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SineGOFTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SineGOFTest1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
- unsigned int arg2 ;
- std::vector< int,std::allocator< int > > *arg3 = 0 ;
+ std::vector< int,std::allocator< int > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
- unsigned int val2 ;
- int ecode2 = 0 ;
- int res3 = SWIG_OLDOBJ ;
+ int res2 = SWIG_OLDOBJ ;
npstat::SineGOFTest1D *result = 0 ;
- if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
+ if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SineGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
- ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
- if (!SWIG_IsOK(ecode2)) {
- SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SineGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
- }
- arg2 = static_cast< unsigned int >(val2);
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
- res3 = swig::asptr(swig_obj[2], &ptr);
- if (!SWIG_IsOK(res3)) {
- SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
+ res2 = swig::asptr(swig_obj[1], &ptr);
+ if (!SWIG_IsOK(res2)) {
+ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SineGOFTest1D" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
- SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SineGOFTest1D" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
+ SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SineGOFTest1D" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
- arg3 = ptr;
+ arg2 = ptr;
}
{
try {
- result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,(std::vector< int,std::allocator< int > > const &)*arg3);
+ result = (npstat::SineGOFTest1D *)new npstat::SineGOFTest1D((npstat::AbsDistribution1D const &)*arg1,(std::vector< int,std::allocator< int > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SineGOFTest1D, SWIG_POINTER_NEW | 0 );
- if (SWIG_IsNewObj(res3)) delete arg3;
+ if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
- if (SWIG_IsNewObj(res3)) delete arg3;
+ if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SineGOFTest1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
- PyObject *argv[6] = {
+ PyObject *argv[5] = {
0
};
- if (!(argc = SWIG_Python_UnpackTuple(args, "new_SineGOFTest1D", 0, 5, argv))) SWIG_fail;
+ if (!(argc = SWIG_Python_UnpackTuple(args, "new_SineGOFTest1D", 0, 4, argv))) SWIG_fail;
--argc;
- if (argc == 3) {
+ if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_new_SineGOFTest1D__SWIG_2(self, argc, argv);
- }
+ return _wrap_new_SineGOFTest1D__SWIG_2(self, argc, argv);
}
}
}
- if (argc == 3) {
+ if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
- _v = SWIG_CheckState(res);
- }
+ int res = swig::asptr(argv[1], (std::vector< int,std::allocator< int > >**)(0));
+ _v = SWIG_CheckState(res);
if (_v) {
- int res = swig::asptr(argv[2], (std::vector< int,std::allocator< int > >**)(0));
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_new_SineGOFTest1D__SWIG_3(self, argc, argv);
- }
+ return _wrap_new_SineGOFTest1D__SWIG_3(self, argc, argv);
}
}
}
- if (argc == 4) {
+ if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
+ void *vptr = 0;
+ int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0);
+ _v = SWIG_CheckState(res);
if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
- _v = SWIG_CheckState(res);
- if (_v) {
- return _wrap_new_SineGOFTest1D__SWIG_1(self, argc, argv);
- }
+ return _wrap_new_SineGOFTest1D__SWIG_1(self, argc, argv);
}
}
}
}
- if (argc == 5) {
+ if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
- _v = SWIG_CheckState(res);
- }
+ void *vptr = 0;
+ int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0);
+ _v = SWIG_CheckState(res);
if (_v) {
- void *vptr = 0;
- int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
- _v = SWIG_CheckState(res);
+ {
+ int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
+ _v = SWIG_CheckState(res);
+ }
if (_v) {
- {
- int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
- _v = SWIG_CheckState(res);
- }
- if (_v) {
- return _wrap_new_SineGOFTest1D__SWIG_0(self, argc, argv);
- }
+ return _wrap_new_SineGOFTest1D__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SineGOFTest1D'.\n"
" Possible C/C++ prototypes are:\n"
- " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int,unsigned char const *,unsigned int)\n"
- " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int,unsigned char const *)\n"
- " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int,unsigned int)\n"
- " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int,std::vector< int,std::allocator< int > > const &)\n");
+ " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int const,unsigned char const *,unsigned int const)\n"
+ " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int const,unsigned char const *)\n"
+ " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,unsigned int const)\n"
+ " npstat::SineGOFTest1D::SineGOFTest1D(npstat::AbsDistribution1D const &,std::vector< int,std::allocator< int > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_SineGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SineGOFTest1D *arg1 = (npstat::SineGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SineGOFTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SineGOFTest1D" "', argument " "1"" of type '" "npstat::SineGOFTest1D *""'");
}
arg1 = reinterpret_cast< npstat::SineGOFTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SineGOFTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SineGOFTest1D *arg1 = (npstat::SineGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SineGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SineGOFTest1D_shortName" "', argument " "1"" of type '" "npstat::SineGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::SineGOFTest1D * >(argp1);
{
try {
result = ((npstat::SineGOFTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SineGOFTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SineGOFTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *SineGOFTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares1D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares1D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares1D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares1D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares1D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares1D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares1D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares1D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares1D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares1D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares1D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > *ptr = (std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares1D" "', argument " "5"" of type '" "std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares1D" "', argument " "5"" of type '" "std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > *ptr = (std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares1D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares1D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,1U >,std::allocator< std::array< double,1U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares1D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares1D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares1D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares1D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,1U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_1U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares2D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares2D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares2D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares2D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares2D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares2D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares2D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares2D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares2D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares2D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares2D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares2D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *ptr = (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares2D" "', argument " "5"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares2D" "', argument " "5"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *ptr = (std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares2D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares2D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,2U >,std::allocator< std::array< double,2U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares2D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares2D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares2D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares2D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,2U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_2U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares2D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares3D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares3D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares3D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares3D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares3D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares3D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares3D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares3D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares3D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares3D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares3D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares3D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *ptr = (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares3D" "', argument " "5"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares3D" "', argument " "5"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *ptr = (std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares3D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares3D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,3U >,std::allocator< std::array< double,3U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares3D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares3D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares3D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares3D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,3U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_3U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares3D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares4D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares4D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares4D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares4D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares4D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares4D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares4D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares4D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares4D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares4D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares4D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares4D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares4D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares4D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *ptr = (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares4D" "', argument " "5"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares4D" "', argument " "5"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *ptr = (std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares4D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares4D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,4U >,std::allocator< std::array< double,4U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares4D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares4D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares4D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares4D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,4U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares4D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_4U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares4D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares5D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares5D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares5D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares5D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares5D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares5D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares5D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares5D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares5D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares5D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares5D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares5D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares5D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares5D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *ptr = (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares5D" "', argument " "5"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares5D" "', argument " "5"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *ptr = (std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares5D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares5D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,5U >,std::allocator< std::array< double,5U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares5D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares5D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares5D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares5D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,5U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares5D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_5U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares5D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares6D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares6D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares6D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares6D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares6D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares6D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares6D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares6D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares6D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares6D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares6D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares6D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares6D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares6D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *ptr = (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares6D" "', argument " "5"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares6D" "', argument " "5"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *ptr = (std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares6D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares6D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,6U >,std::allocator< std::array< double,6U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares6D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares6D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares6D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares6D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,6U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares6D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_6U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares6D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares7D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares7D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares7D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares7D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares7D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares7D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares7D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares7D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares7D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares7D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares7D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares7D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares7D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares7D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *ptr = (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares7D" "', argument " "5"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares7D" "', argument " "5"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *ptr = (std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares7D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares7D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,7U >,std::allocator< std::array< double,7U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares7D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares7D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares7D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares7D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,7U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares7D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_7U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares7D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares8D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares8D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares8D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares8D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares8D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares8D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares8D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares8D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares8D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares8D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares8D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares8D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares8D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares8D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *ptr = (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares8D" "', argument " "5"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares8D" "', argument " "5"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *ptr = (std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares8D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares8D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,8U >,std::allocator< std::array< double,8U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares8D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares8D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares8D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares8D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,8U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares8D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_8U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares8D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares9D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares9D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares9D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares9D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares9D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares9D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares9D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares9D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares9D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares9D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares9D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares9D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares9D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares9D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *ptr = (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares9D" "', argument " "5"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares9D" "', argument " "5"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *ptr = (std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares9D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares9D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,9U >,std::allocator< std::array< double,9U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares9D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares9D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares9D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares9D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,9U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares9D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_9U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares9D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LocalQuadraticLeastSquares10D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LocalQuadraticLeastSquares10D" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_dim" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_polyDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_polyDegree" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->polyDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_nPoints(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_nPoints" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->nPoints();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_nTermsFitted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_nTermsFitted" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (unsigned int)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->nTermsFitted();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_hasErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_hasErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (bool)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->hasErrors();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_getBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_getBandwidth", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_getBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares10D_getBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->getBandwidth(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_chiSquare" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->chiSquare();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_lscvCriterion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_lscvCriterion" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->lscvCriterion();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_setBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_setBandwidth", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_setBandwidth" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares10D_setBandwidth" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LocalQuadraticLeastSquares10D_setBandwidth" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setBandwidth(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_smootherMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LocalQuadraticLeastSquares10D_smootherMatrix" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->smootherMatrix(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_smootherMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::Matrix< double > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_smootherMatrix" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
try {
result = ((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->smootherMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_smootherMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_smootherMatrix", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LocalQuadraticLeastSquares10D_smootherMatrix__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LocalQuadraticLeastSquares10D_smootherMatrix__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LocalQuadraticLeastSquares10D_smootherMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double >::smootherMatrix(double) const\n"
" npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double >::smootherMatrix() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LocalQuadraticLeastSquares10D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
npstat::AbsDistributionND *arg2 = 0 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double *arg8 = (double *) 0 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
int res5 = SWIG_OLDOBJ ;
PyArrayObject *array6 = NULL ;
int i6 = 1 ;
PyArrayObject *array8 = NULL ;
int i8 = 1 ;
PyObject *swig_obj[6] ;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LocalQuadraticLeastSquares10D", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LocalQuadraticLeastSquares10D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_LocalQuadraticLeastSquares10D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares10D" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *ptr = (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *)0;
res5 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LocalQuadraticLeastSquares10D" "', argument " "5"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LocalQuadraticLeastSquares10D" "', argument " "5"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg5 = ptr;
}
{
array6 = obj_to_array_no_conversion(swig_obj[4], NPY_DOUBLE);
if (!array6 || !require_dimensions(array6,1) || !require_contiguous(array6)
|| !require_native(array6)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = 1;
for (i6=0; i6 < array_numdims(array6); ++i6) arg7 *= array_size(array6,i6);
}
{
array8 = obj_to_array_no_conversion(swig_obj[5], NPY_DOUBLE);
if (!array8 || !require_dimensions(array8,1) || !require_contiguous(array8)
|| !require_native(array8)) SWIG_fail;
arg8 = (double*) array_data(array8);
arg9 = 1;
for (i8=0; i8 < array_numdims(array8); ++i8) arg9 *= array_size(array8,i8);
}
{
try {
result = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *)new npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double >(arg1,(npstat::AbsDistributionND const &)*arg2,(double const *)arg3,arg4,(std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg5,(double const *)arg6,arg7,(double const *)arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
if (SWIG_IsNewObj(res5)) delete arg5;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_setPointCoords(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_setPointCoords", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_setPointCoords" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *ptr = (std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LocalQuadraticLeastSquares10D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LocalQuadraticLeastSquares10D_setPointCoords" "', argument " "2"" of type '" "std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &""'");
}
arg2 = ptr;
}
{
try {
(arg1)->setPointCoords_2((std::vector< std::array< double,10U >,std::allocator< std::array< double,10U > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_setValues(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_setValues", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_setValues" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setValues_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_setErrors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int i2 = 1 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_setErrors", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_setErrors" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
array2 = obj_to_array_no_conversion(swig_obj[1], NPY_DOUBLE);
if (!array2 || !require_dimensions(array2,1) || !require_contiguous(array2)
|| !require_native(array2)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = 1;
for (i2=0; i2 < array_numdims(array2); ++i2) arg3 *= array_size(array2,i2);
}
{
try {
(arg1)->setErrors_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_fit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_fit", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_fit" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->fit_2((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_fitWithGradient(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_fitWithGradient", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_fitWithGradient" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->fitWithGradient((double const *)arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LocalQuadraticLeastSquares10D_fitWithHessian(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *arg1 = (npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
npstat::Matrix< double > *arg6 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyArrayObject *array4 = NULL ;
int i4 = 1 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LocalQuadraticLeastSquares10D_fitWithHessian", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LocalQuadraticLeastSquares10D_fitWithHessian" "', argument " "1"" of type '" "npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
array4 = obj_to_array_no_conversion(swig_obj[2], NPY_DOUBLE);
if (!array4 || !require_dimensions(array4,1) || !require_contiguous(array4)
|| !require_native(array4)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = 1;
for (i4=0; i4 < array_numdims(array4); ++i4) arg5 *= array_size(array4,i4);
}
res6 = SWIG_ConvertPtr(swig_obj[3], &argp6,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LocalQuadraticLeastSquares10D_fitWithHessian" "', argument " "6"" of type '" "npstat::Matrix< double > *""'");
}
arg6 = reinterpret_cast< npstat::Matrix< double > * >(argp6);
{
try {
result = (double)((npstat::LocalQuadraticLeastSquaresND< std::array< double,10U >,double > const *)arg1)->fitWithHessian((double const *)arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares10D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LocalQuadraticLeastSquaresNDT_std__arrayT_double_10U_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LocalQuadraticLeastSquares10D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ClassicalSmoothGOFTest1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned char *arg4 = (unsigned char *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "4"" of type '" "unsigned char const *""'");
}
arg4 = reinterpret_cast< unsigned char * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,arg3,(unsigned char const *)arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ClassicalSmoothGOFTest1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned char *arg4 = (unsigned char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "4"" of type '" "unsigned char const *""'");
}
arg4 = reinterpret_cast< unsigned char * >(argp4);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,arg3,(unsigned char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ClassicalSmoothGOFTest1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ClassicalSmoothGOFTest1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::ScalableClassicalOrthoPoly1D *arg2 = 0 ;
std::vector< int,std::allocator< int > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int res3 = SWIG_OLDOBJ ;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "2"" of type '" "npstat::ScalableClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::ScalableClassicalOrthoPoly1D * >(argp2);
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg3 = ptr;
}
{
try {
result = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::ScalableClassicalOrthoPoly1D const &)*arg2,(std::vector< int,std::allocator< int > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ClassicalSmoothGOFTest1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > const &""'");
}
arg1 = reinterpret_cast< npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > * >(argp1);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >((npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ClassicalSmoothGOFTest1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ClassicalSmoothGOFTest1D", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ClassicalSmoothGOFTest1D__SWIG_4(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ClassicalSmoothGOFTest1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[2], (std::vector< int,std::allocator< int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ClassicalSmoothGOFTest1D__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ClassicalSmoothGOFTest1D__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ScalableClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ClassicalSmoothGOFTest1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ClassicalSmoothGOFTest1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,unsigned int const,unsigned char const *,unsigned int const)\n"
" npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,unsigned int const,unsigned char const *)\n"
" npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,unsigned int const)\n"
" npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::ScalableClassicalOrthoPoly1D const &,std::vector< int,std::allocator< int > > const &)\n"
" npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_ClassicalSmoothGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *arg1 = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ClassicalSmoothGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *""'");
}
arg1 = reinterpret_cast< npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ClassicalSmoothGOFTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *arg1 = (npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ClassicalSmoothGOFTest1D_shortName" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > * >(argp1);
{
try {
result = ((npstat::SmoothGOFTest1D< npstat::ScalableClassicalOrthoPoly1D > const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ClassicalSmoothGOFTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__ScalableClassicalOrthoPoly1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ClassicalSmoothGOFTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DensitySmoothGOFTest1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned char *arg4 = (unsigned char *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "4"" of type '" "unsigned char const *""'");
}
arg4 = reinterpret_cast< unsigned char * >(argp4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,arg3,(unsigned char const *)arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensitySmoothGOFTest1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned char *arg4 = (unsigned char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "4"" of type '" "unsigned char const *""'");
}
arg4 = reinterpret_cast< unsigned char * >(argp4);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,arg3,(unsigned char const *)arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensitySmoothGOFTest1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensitySmoothGOFTest1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsClassicalOrthoPoly1D *arg2 = 0 ;
std::vector< int,std::allocator< int > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
int res3 = SWIG_OLDOBJ ;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "2"" of type '" "npstat::AbsClassicalOrthoPoly1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsClassicalOrthoPoly1D * >(argp2);
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg3 = ptr;
}
{
try {
result = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsClassicalOrthoPoly1D const &)*arg2,(std::vector< int,std::allocator< int > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensitySmoothGOFTest1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > const &""'");
}
arg1 = reinterpret_cast< npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > * >(argp1);
{
try {
result = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *)new npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >((npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DensitySmoothGOFTest1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_DensitySmoothGOFTest1D", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DensitySmoothGOFTest1D__SWIG_4(self, argc, argv);
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DensitySmoothGOFTest1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[2], (std::vector< int,std::allocator< int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DensitySmoothGOFTest1D__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_DensitySmoothGOFTest1D__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_char, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_DensitySmoothGOFTest1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DensitySmoothGOFTest1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,unsigned int const,unsigned char const *,unsigned int const)\n"
" npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,unsigned int const,unsigned char const *)\n"
" npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,unsigned int const)\n"
" npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::AbsDistribution1D const &,npstat::AbsClassicalOrthoPoly1D const &,std::vector< int,std::allocator< int > > const &)\n"
" npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D >::SmoothGOFTest1D(npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_DensitySmoothGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *arg1 = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DensitySmoothGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *""'");
}
arg1 = reinterpret_cast< npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DensitySmoothGOFTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *arg1 = (npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DensitySmoothGOFTest1D_shortName" "', argument " "1"" of type '" "npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > * >(argp1);
{
try {
result = ((npstat::SmoothGOFTest1D< npstat::AbsClassicalOrthoPoly1D > const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DensitySmoothGOFTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SmoothGOFTest1DT_npstat__AbsClassicalOrthoPoly1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DensitySmoothGOFTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_amisePluginBwGauss__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amisePluginBwGauss" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amisePluginBwGauss" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "amisePluginBwGauss" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "amisePluginBwGauss" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
result = (double)npstat::amisePluginBwGauss(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginBwGauss__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amisePluginBwGauss" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amisePluginBwGauss" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "amisePluginBwGauss" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)npstat::amisePluginBwGauss(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginBwGauss(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "amisePluginBwGauss", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_amisePluginBwGauss__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_amisePluginBwGauss__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'amisePluginBwGauss'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::amisePluginBwGauss(unsigned int,double,double,double *)\n"
" npstat::amisePluginBwGauss(unsigned int,double,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_approxAmisePluginBwGauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "approxAmisePluginBwGauss", 3, 3, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "approxAmisePluginBwGauss" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "approxAmisePluginBwGauss" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "approxAmisePluginBwGauss" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)npstat::approxAmisePluginBwGauss(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginBwSymbeta__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
double arg3 ;
double arg4 ;
double *arg5 = (double *) 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amisePluginBwSymbeta" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amisePluginBwSymbeta" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "amisePluginBwSymbeta" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "amisePluginBwSymbeta" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "amisePluginBwSymbeta" "', argument " "5"" of type '" "double *""'");
}
arg5 = reinterpret_cast< double * >(argp5);
{
try {
result = (double)npstat::amisePluginBwSymbeta(arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginBwSymbeta__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
double arg3 ;
double arg4 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amisePluginBwSymbeta" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amisePluginBwSymbeta" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "amisePluginBwSymbeta" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "amisePluginBwSymbeta" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)npstat::amisePluginBwSymbeta(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginBwSymbeta(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "amisePluginBwSymbeta", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_amisePluginBwSymbeta__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[4], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_amisePluginBwSymbeta__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'amisePluginBwSymbeta'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::amisePluginBwSymbeta(unsigned int,unsigned int,double,double,double *)\n"
" npstat::amisePluginBwSymbeta(unsigned int,unsigned int,double,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_symbetaBandwidthRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
unsigned int arg2 ;
int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "symbetaBandwidthRatio", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "symbetaBandwidthRatio" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbetaBandwidthRatio" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)npstat::symbetaBandwidthRatio(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_approxSymbetaBandwidthRatio(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "approxSymbetaBandwidthRatio", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "approxSymbetaBandwidthRatio" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "approxSymbetaBandwidthRatio" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)npstat::approxSymbetaBandwidthRatio(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginDegreeGauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double val1 ;
int ecode1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amisePluginDegreeGauss" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
{
try {
result = (unsigned int)npstat::amisePluginDegreeGauss(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_amisePluginDegreeSymbeta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "amisePluginDegreeSymbeta", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amisePluginDegreeSymbeta" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amisePluginDegreeSymbeta" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (unsigned int)npstat::amisePluginDegreeSymbeta(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_maxFilterDegreeSupported(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "maxFilterDegreeSupported", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::maxFilterDegreeSupported();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_integralOfSymmetricBetaSquared__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
int val1 ;
int ecode1 = 0 ;
double result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "integralOfSymmetricBetaSquared" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
{
try {
result = (double)npstat::integralOfSymmetricBetaSquared(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_integralOfSymmetricBetaSquared__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "integralOfSymmetricBetaSquared" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "integralOfSymmetricBetaSquared" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "integralOfSymmetricBetaSquared" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)npstat::integralOfSymmetricBetaSquared(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_integralOfSymmetricBetaSquared(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "integralOfSymmetricBetaSquared", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_integralOfSymmetricBetaSquared__SWIG_0(self, argc, argv);
}
}
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_integralOfSymmetricBetaSquared__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'integralOfSymmetricBetaSquared'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::integralOfSymmetricBetaSquared(int)\n"
" npstat::integralOfSymmetricBetaSquared(int,double,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_amiseOptimalBwGauss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
double arg5 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
double val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[4] ;
std::pair< double,double > result;
if (!SWIG_Python_UnpackTuple(args, "amiseOptimalBwGauss", 4, 4, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amiseOptimalBwGauss" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amiseOptimalBwGauss" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "amiseOptimalBwGauss" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = npstat::amiseOptimalBwGauss2(arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_amiseOptimalBwSymbeta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned long arg5 ;
double arg6 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
double val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[5] ;
std::pair< double,double > result;
if (!SWIG_Python_UnpackTuple(args, "amiseOptimalBwSymbeta", 5, 5, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "amiseOptimalBwSymbeta" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "amiseOptimalBwSymbeta" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "amiseOptimalBwSymbeta" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "amiseOptimalBwSymbeta" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = npstat::amiseOptimalBwSymbeta2(arg1,arg2,arg3,(double const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_make_UnbinnedGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::string *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
std::vector< int,std::allocator< int > > *arg4 = 0 ;
int res1 = SWIG_OLDOBJ ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
int res4 = SWIG_OLDOBJ ;
PyObject *swig_obj[4] ;
npstat::AbsUnbinnedGOFTest1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "make_UnbinnedGOFTest1D", 4, 4, swig_obj)) SWIG_fail;
{
std::basic_string<char> *ptr = (std::basic_string<char> *)0;
res1 = SWIG_AsPtr_std_basic_string_Sl_char_Sg_(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "make_UnbinnedGOFTest1D" "', argument " "1"" of type '" "std::string const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "make_UnbinnedGOFTest1D" "', argument " "1"" of type '" "std::string const &""'");
}
arg1 = ptr;
}
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "make_UnbinnedGOFTest1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "make_UnbinnedGOFTest1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "make_UnbinnedGOFTest1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res4 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "make_UnbinnedGOFTest1D" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "make_UnbinnedGOFTest1D" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg4 = ptr;
}
{
try {
result = (npstat::AbsUnbinnedGOFTest1D *)npstat::make_UnbinnedGOFTest1D_2((std::basic_string< char,std::char_traits< char >,std::allocator< char > > const &)*arg1,(npstat::AbsDistribution1D const &)*arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsUnbinnedGOFTest1D, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res4)) delete arg4;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res4)) delete arg4;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_KDECopulaSmoother_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
npstat::AbsDistributionND *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double arg8 ;
npstat::KDECopulaSmoother< 10U >::Base::CVCalc *arg9 = (npstat::KDECopulaSmoother< 10U >::Base::CVCalc *) 0 ;
bool arg10 ;
double arg11 ;
unsigned int arg12 ;
bool arg13 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyArrayObject *array6 = NULL ;
int is_new_object6 = 0 ;
double val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
bool val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
unsigned int val12 ;
int ecode12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
PyObject *swig_obj[11] ;
npstat::KDECopulaSmoother< 10U > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_KDECopulaSmoother_10", 11, 11, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KDECopulaSmoother_10" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_KDECopulaSmoother_10" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_KDECopulaSmoother_10" "', argument " "5"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KDECopulaSmoother_10" "', argument " "5"" of type '" "npstat::AbsDistributionND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistributionND * >(argp5);
{
npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(swig_obj[4],
NPY_DOUBLE,
&is_new_object6);
if (!array6 || !require_dimensions(array6, 1) ||
!require_size(array6, size, 1)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = (int) array_size(array6,0);
}
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_KDECopulaSmoother_10" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_KDECopulaSmoother_10" "', argument " "9"" of type '" "npstat::KDECopulaSmoother< 10U >::Base::CVCalc const *""'");
}
arg9 = reinterpret_cast< npstat::KDECopulaSmoother< 10U >::Base::CVCalc * >(argp9);
ecode10 = SWIG_AsVal_bool(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_KDECopulaSmoother_10" "', argument " "10"" of type '" "bool""'");
}
arg10 = static_cast< bool >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_KDECopulaSmoother_10" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_KDECopulaSmoother_10" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
ecode13 = SWIG_AsVal_bool(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_KDECopulaSmoother_10" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::KDECopulaSmoother< 10U > *)new npstat::KDECopulaSmoother< 10U >((unsigned int const *)arg1,arg2,arg3,arg4,(npstat::AbsDistributionND const &)*arg5,(double const *)arg6,arg7,arg8,(npstat::KDECopulaSmoother< 10U >::Base::CVCalc const *)arg9,arg10,arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KDECopulaSmootherT_10U_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_KDECopulaSmoother_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KDECopulaSmoother< 10U > *arg1 = (npstat::KDECopulaSmoother< 10U > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KDECopulaSmootherT_10U_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KDECopulaSmoother_10" "', argument " "1"" of type '" "npstat::KDECopulaSmoother< 10U > *""'");
}
arg1 = reinterpret_cast< npstat::KDECopulaSmoother< 10U > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *KDECopulaSmoother_10_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__KDECopulaSmootherT_10U_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *KDECopulaSmoother_10_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ULongVectorDoubleVectorPair__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long >,std::vector< double > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (std::pair< std::vector< unsigned long >,std::vector< double > > *)new std::pair< std::vector< unsigned long >,std::vector< double > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ULongVectorDoubleVectorPair__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< unsigned long,std::allocator< unsigned long > > arg1 ;
std::vector< double,std::allocator< double > > arg2 ;
std::pair< std::vector< unsigned long >,std::vector< double > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0;
int res = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_ULongVectorDoubleVectorPair" "', argument " "1"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > >""'");
}
arg1 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
int res = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_ULongVectorDoubleVectorPair" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > >""'");
}
arg2 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
result = (std::pair< std::vector< unsigned long >,std::vector< double > > *)new std::pair< std::vector< unsigned long >,std::vector< double > >(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ULongVectorDoubleVectorPair__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::pair< std::vector< unsigned long >,std::vector< double > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ULongVectorDoubleVectorPair" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ULongVectorDoubleVectorPair" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const &""'");
}
arg1 = ptr;
}
{
try {
result = (std::pair< std::vector< unsigned long >,std::vector< double > > *)new std::pair< std::vector< unsigned long >,std::vector< double > >((std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ULongVectorDoubleVectorPair(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ULongVectorDoubleVectorPair", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_ULongVectorDoubleVectorPair__SWIG_0(self, argc, argv);
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ULongVectorDoubleVectorPair__SWIG_2(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ULongVectorDoubleVectorPair__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ULongVectorDoubleVectorPair'.\n"
" Possible C/C++ prototypes are:\n"
" std::pair< std::vector< unsigned long >,std::vector< double > >::pair()\n"
" std::pair< std::vector< unsigned long >,std::vector< double > >::pair(std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > >)\n"
" std::pair< std::vector< unsigned long >,std::vector< double > >::pair(std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ULongVectorDoubleVectorPair_first_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long >,std::vector< double > > *arg1 = (std::pair< std::vector< unsigned long >,std::vector< double > > *) 0 ;
std::vector< unsigned long,std::allocator< unsigned long > > *arg2 = (std::vector< unsigned long,std::allocator< unsigned long > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "ULongVectorDoubleVectorPair_first_set", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ULongVectorDoubleVectorPair_first_set" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long >,std::vector< double > > *""'");
}
arg1 = reinterpret_cast< std::pair< std::vector< unsigned long >,std::vector< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ULongVectorDoubleVectorPair_first_set" "', argument " "2"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > *""'");
}
arg2 = reinterpret_cast< std::vector< unsigned long,std::allocator< unsigned long > > * >(argp2);
if (arg1) (arg1)->first = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ULongVectorDoubleVectorPair_first_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long >,std::vector< double > > *arg1 = (std::pair< std::vector< unsigned long >,std::vector< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< unsigned long,std::allocator< unsigned long > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ULongVectorDoubleVectorPair_first_get" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long >,std::vector< double > > *""'");
}
arg1 = reinterpret_cast< std::pair< std::vector< unsigned long >,std::vector< double > > * >(argp1);
result = (std::vector< unsigned long,std::allocator< unsigned long > > *)& ((arg1)->first);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ULongVectorDoubleVectorPair_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long >,std::vector< double > > *arg1 = (std::pair< std::vector< unsigned long >,std::vector< double > > *) 0 ;
std::vector< double,std::allocator< double > > *arg2 = (std::vector< double,std::allocator< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "ULongVectorDoubleVectorPair_second_set", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ULongVectorDoubleVectorPair_second_set" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long >,std::vector< double > > *""'");
}
arg1 = reinterpret_cast< std::pair< std::vector< unsigned long >,std::vector< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ULongVectorDoubleVectorPair_second_set" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > *""'");
}
arg2 = reinterpret_cast< std::vector< double,std::allocator< double > > * >(argp2);
if (arg1) (arg1)->second = *arg2;
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ULongVectorDoubleVectorPair_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long >,std::vector< double > > *arg1 = (std::pair< std::vector< unsigned long >,std::vector< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< double,std::allocator< double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ULongVectorDoubleVectorPair_second_get" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long >,std::vector< double > > *""'");
}
arg1 = reinterpret_cast< std::pair< std::vector< unsigned long >,std::vector< double > > * >(argp1);
result = (std::vector< double,std::allocator< double > > *)& ((arg1)->second);
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ULongVectorDoubleVectorPair(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::pair< std::vector< unsigned long >,std::vector< double > > *arg1 = (std::pair< std::vector< unsigned long >,std::vector< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ULongVectorDoubleVectorPair" "', argument " "1"" of type '" "std::pair< std::vector< unsigned long >,std::vector< double > > *""'");
}
arg1 = reinterpret_cast< std::pair< std::vector< unsigned long >,std::vector< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ULongVectorDoubleVectorPair_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ULongVectorDoubleVectorPair_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayShape *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayShape const &""'");
}
arg1 = ptr;
}
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((npstat::ArrayShape const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int const *""'");
}
arg1 = reinterpret_cast< unsigned int * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((unsigned int const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp1);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > &&""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > &&""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp1);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > &&)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int val1 ;
int ecode1 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ResponseMatrixArrayND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ResponseMatrixArrayND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ResponseMatrixArrayND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ResponseMatrixArrayND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ResponseMatrixArrayND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ResponseMatrixArrayND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ResponseMatrixArrayND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ResponseMatrixArrayND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ResponseMatrixArrayND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_ResponseMatrixArrayND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ResponseMatrixArrayND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ResponseMatrixArrayND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ResponseMatrixArrayND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_ResponseMatrixArrayND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_ResponseMatrixArrayND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ResponseMatrixArrayND" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ResponseMatrixArrayND" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ResponseMatrixArrayND" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ResponseMatrixArrayND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_ResponseMatrixArrayND" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_ResponseMatrixArrayND" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_ResponseMatrixArrayND" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ResponseMatrixArrayND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_uninitialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_uninitialize" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->uninitialize();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayShape *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape((npstat::ArrayShape const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
unsigned int arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
unsigned int val11 ;
int ecode11 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_reshape" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->reshape(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_reshape(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_reshape", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_3(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_4(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_5(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_reshape__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_reshape'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(npstat::ArrayShape const &)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int const *,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::reshape(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_valueAt__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_valueAt" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_valueAt" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_valueAt" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->valueAt((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_valueAt__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_valueAt" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_valueAt" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_valueAt" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->valueAt((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_valueAt(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_valueAt", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_valueAt__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_valueAt__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_valueAt'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::valueAt(unsigned int const *,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::valueAt(unsigned int const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_linearPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_linearPtr" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->linearValueAt(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_linearPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_linearPtr" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->linearValueAt(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearPtr(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_linearPtr", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_linearPtr__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_linearPtr__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_linearPtr'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::linearValueAt(unsigned long)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::linearValueAt(unsigned long) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_convertLinearIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned long arg2 ;
unsigned int *arg3 = (unsigned int *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_convertLinearIndex" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_convertLinearIndex" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrixArrayND_convertLinearIndex" "', argument " "3"" of type '" "unsigned int *""'");
}
arg3 = reinterpret_cast< unsigned int * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_convertLinearIndex" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->convertLinearIndex(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_convertLinearIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
npstat::ArrayShape result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_convertLinearIndex" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_convertLinearIndex" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->convertLinearIndex(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_convertLinearIndex(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_convertLinearIndex", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_convertLinearIndex__SWIG_1(self, argc, argv);
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_convertLinearIndex__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_convertLinearIndex'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::convertLinearIndex(unsigned long,unsigned int *,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::convertLinearIndex(unsigned long) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_nonZeroRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayRange result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_nonZeroRange" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->nonZeroRange();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayRange(static_cast< const npstat::ArrayRange& >(result))), SWIGTYPE_p_npstat__ArrayRange, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearIndex__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned long result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_linearIndex" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_linearIndex" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_linearIndex" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (unsigned long)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->linearIndex((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearIndex__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayShape *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
unsigned long result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_linearIndex" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_linearIndex" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_linearIndex" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
{
try {
result = (unsigned long)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->linearIndex((npstat::ArrayShape const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearIndex(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_linearIndex", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_linearIndex__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_linearIndex__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_linearIndex'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::linearIndex(unsigned int const *,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::linearIndex(npstat::ArrayShape const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_length(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_length" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (unsigned long)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->length();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_data" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->data();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isShapeKnown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_isShapeKnown" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isShapeKnown();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_rank(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_rank" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (unsigned int)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->rank();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_shape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayShape result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_shape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->shape();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_shapeData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_shapeData" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (unsigned int *)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->shapeData();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_int, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_fullRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayRange result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_fullRange" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->fullRange();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayRange(static_cast< const npstat::ArrayRange& >(result))), SWIGTYPE_p_npstat__ArrayRange, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_span(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_span", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_span" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_span" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (unsigned int)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->span(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_maximumSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_maximumSpan" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (unsigned int)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->maximumSpan();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_minimumSpan(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_minimumSpan" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (unsigned int)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->minimumSpan();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_strides(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_strides" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (unsigned long *)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->strides();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isZero(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_isZero" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isZero();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isNonZero(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_isNonZero" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isNonZero();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___pos__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___pos__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->operator +();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(static_cast< const npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >& >(result))), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_transpose__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_transpose" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_transpose" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_transpose" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->transpose(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(static_cast< const npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >& >(result))), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_transpose__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_transpose" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->transpose();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(static_cast< const npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >& >(result))), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_transpose(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_transpose", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_transpose__SWIG_1(self, argc, argv);
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_transpose__SWIG_0(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_transpose'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::transpose(unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::transpose() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_closestPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_closestPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_closestPtr" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_closestPtr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->closest((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_closestPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_closestPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_closestPtr" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_closestPtr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->closest((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_closestPtr(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_closestPtr", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_closestPtr__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_closestPtr__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_closestPtr'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::closest(double const *,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::closest(double const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_constFill(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_constFill", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_constFill" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_constFill" "', argument " "2"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg2 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->constFill(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clear" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) &(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isCompatible__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayShape *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
bool result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_isCompatible" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_isCompatible" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_isCompatible" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isCompatible((npstat::ArrayShape const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isCompatible__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
bool result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_isCompatible" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_isCompatible" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_isCompatible" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isCompatible((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isCompatible(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_isCompatible", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_isCompatible__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_isCompatible__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_isCompatible'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::isCompatible(npstat::ArrayShape const &) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::isCompatible(unsigned int const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_sliceShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::ArrayShape result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_sliceShape", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_sliceShape" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_sliceShape" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_sliceShape" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->sliceShape((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
unsigned int arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
unsigned int val11 ;
int ecode11 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
unsigned int arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
unsigned int val11 ;
int ecode11 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_ptr" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->at(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_ptr(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_ptr", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_3(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_6(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_7(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_8(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_9(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_12(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_13(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_14(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_15(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_16(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_17(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_18(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_19(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_20(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_ptr__SWIG_21(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_ptr'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at()\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at() const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::at(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_11(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_12(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_13(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_14(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_18(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_19(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_20(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &(arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr__SWIG_21(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *result = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_clPtr" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
{
try {
result = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) &((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->cl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_clPtr(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_clPtr", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_0(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_3(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_5(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_6(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_7(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_8(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_9(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_12(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_13(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_14(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_15(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_16(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_17(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_18(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_19(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_20(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_clPtr__SWIG_21(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_clPtr'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl()\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl() const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double,double,double,double)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::cl(double,double,double,double,double,double,double,double,double,double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_classId" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_write" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::SWIGTEMPLATEDISAMBIGUATOR classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::SWIGTEMPLATEDISAMBIGUATOR version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg3 = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_restore" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_restore" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrixArrayND_restore" "', argument " "3"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp3);
{
try {
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::SWIGTEMPLATEDISAMBIGUATOR restore((gs::ClassId const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_setValue", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setValue" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_setValue" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setValue" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setValue" "', argument " "4"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setValue((unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_value", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_value" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_value" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_value" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getValue((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setLinearValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned long arg2 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_setLinearValue", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setLinearValue" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setLinearValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setLinearValue" "', argument " "3"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg3 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setLinearValue(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_linearValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_linearValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_linearValue" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_linearValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getLinearValue(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setClosest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_setClosest", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setClosest" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_setClosest" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setClosest" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setClosest" "', argument " "4"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setClosest((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_closest(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_closest", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_closest" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_closest" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_closest" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getClosest((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg2 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg3 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[4], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg5 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[5], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg6 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[6], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "7"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg7 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND___call__" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_set" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "8"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg8 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND___call__" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND___call__" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_set" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_set" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "9"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg9 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND___call__" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND___call__" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND___call__" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_set" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_set" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_set" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[9], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "10"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg10 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND___call__" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND___call__" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND___call__" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND___call__" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_set" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_set" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_set" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_set" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[10], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "11"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg11 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND___call__" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND___call__" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND___call__" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND___call__" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND___call__" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
unsigned int arg11 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
unsigned int val11 ;
int ecode11 = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_set" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_set" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_set" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_set" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_set" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_set" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_set" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_set" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_set" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_set" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_set" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_set" "', argument " "12"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg12 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->set(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_set(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[13] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_set", 0, 12, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[3], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[4], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_3(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[5], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[6], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[9], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[10], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_set__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_set'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::set(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call____SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
unsigned int arg7 ;
unsigned int arg8 ;
unsigned int arg9 ;
unsigned int arg10 ;
unsigned int arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
unsigned int val8 ;
int ecode8 = 0 ;
unsigned int val9 ;
int ecode9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
unsigned int val11 ;
int ecode11 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___call__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND___call__" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND___call__" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND___call__" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND___call__" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND___call__" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND___call__" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
ecode8 = SWIG_AsVal_unsigned_SS_int(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND___call__" "', argument " "8"" of type '" "unsigned int""'");
}
arg8 = static_cast< unsigned int >(val8);
ecode9 = SWIG_AsVal_unsigned_SS_int(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND___call__" "', argument " "9"" of type '" "unsigned int""'");
}
arg9 = static_cast< unsigned int >(val9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND___call__" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
ecode11 = SWIG_AsVal_unsigned_SS_int(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND___call__" "', argument " "11"" of type '" "unsigned int""'");
}
arg11 = static_cast< unsigned int >(val11);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->get(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND___call__", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_0(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND___call____SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get() const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::get(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg2 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg3 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg4 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[4], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg5 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[5], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg6 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[6], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "7"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg7 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_5(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_cl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[7], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "8"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg8 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_6(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_cl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_cl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[8], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "9"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg9 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_7(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_cl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_cl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_cl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[9], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "10"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg10 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_8(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_cl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_cl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_cl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_cl" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[10], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "11"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg11 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_9(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_cl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_cl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_cl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_cl" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_cl" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > arg12 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
{
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *ptr = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *)0;
int res = swig::asptr(swig_obj[11], &ptr);
if (!SWIG_IsOK(res) || !ptr) {
SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ResponseMatrixArrayND_setCl" "', argument " "12"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >""'");
}
arg12 = *ptr;
if (SWIG_IsNewObj(res)) delete ptr;
}
{
try {
(arg1)->setCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setCl(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[13] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_setCl", 0, 12, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[3], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[4], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_3(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[5], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_4(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[6], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[7], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[8], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[9], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[10], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[11], (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_setCl__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_setCl'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,double,double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::setCl(double,double,double,double,double,double,double,double,double,double,std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl__SWIG_10(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
double arg2 ;
double arg3 ;
double arg4 ;
double arg5 ;
double arg6 ;
double arg7 ;
double arg8 ;
double arg9 ;
double arg10 ;
double arg11 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
double val9 ;
int ecode9 = 0 ;
double val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > result;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_cl" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrixArrayND_cl" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_cl" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_cl" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ResponseMatrixArrayND_cl" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_cl" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ResponseMatrixArrayND_cl" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ResponseMatrixArrayND_cl" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
ecode9 = SWIG_AsVal_double(swig_obj[8], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "ResponseMatrixArrayND_cl" "', argument " "9"" of type '" "double""'");
}
arg9 = static_cast< double >(val9);
ecode10 = SWIG_AsVal_double(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "ResponseMatrixArrayND_cl" "', argument " "10"" of type '" "double""'");
}
arg10 = static_cast< double >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[10], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "ResponseMatrixArrayND_cl" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
{
try {
result = ((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->getCl(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_cl(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[12] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_cl", 0, 11, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_0(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_5(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_6(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_7(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_8(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_9(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[10], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ResponseMatrixArrayND_cl__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ResponseMatrixArrayND_cl'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl() const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double,double,double,double,double,double) const\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::getCl(double,double,double,double,double,double,double,double,double,double) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_setData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *arg2 = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_setData", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_setData" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_setData" "', argument " "2"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const *""'");
}
arg2 = reinterpret_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_setData" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
(arg1)->setData2((std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___eq__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND___eq__" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND___eq__" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp2);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isEqual2((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND___ne__" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND___ne__" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND___ne__" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp2);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->notEqual2((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_isShapeCompatible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_isShapeCompatible", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_isShapeCompatible" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_isShapeCompatible" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_isShapeCompatible" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp2);
{
try {
result = (bool)((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->isShapeCompatible2((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_exportSlice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg2 = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) 0 ;
unsigned int *arg3 = (unsigned int *) 0 ;
unsigned int arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_exportSlice", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_exportSlice" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_exportSlice" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrixArrayND_exportSlice" "', argument " "3"" of type '" "unsigned int const *""'");
}
arg3 = reinterpret_cast< unsigned int * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_exportSlice" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ResponseMatrixArrayND_exportSlice" "', argument " "5"" of type '" "unsigned int const *""'");
}
arg5 = reinterpret_cast< unsigned int * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_exportSlice" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->exportSlice2(arg2,(unsigned int const *)arg3,arg4,(unsigned int const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_exportMemSlice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *arg2 = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) 0 ;
unsigned long arg3 ;
unsigned int *arg4 = (unsigned int *) 0 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_exportMemSlice", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_exportMemSlice" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_exportMemSlice" "', argument " "2"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *""'");
}
arg2 = reinterpret_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_exportMemSlice" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ResponseMatrixArrayND_exportMemSlice" "', argument " "4"" of type '" "unsigned int const *""'");
}
arg4 = reinterpret_cast< unsigned int * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ResponseMatrixArrayND_exportMemSlice" "', argument " "5"" of type '" "unsigned int const *""'");
}
arg5 = reinterpret_cast< unsigned int * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_exportMemSlice" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->exportMemSlice2(arg2,arg3,(unsigned int const *)arg4,(unsigned int const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_importSlice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg2 = 0 ;
unsigned int *arg3 = (unsigned int *) 0 ;
unsigned int arg4 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_importSlice", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "3"" of type '" "unsigned int const *""'");
}
arg3 = reinterpret_cast< unsigned int * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "5"" of type '" "unsigned int const *""'");
}
arg5 = reinterpret_cast< unsigned int * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_importSlice" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
(arg1)->importSlice2((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)*arg2,(unsigned int const *)arg3,arg4,(unsigned int const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_importMemSlice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *arg2 = (std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > *) 0 ;
unsigned long arg3 ;
unsigned int *arg4 = (unsigned int *) 0 ;
unsigned int *arg5 = (unsigned int *) 0 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
PyObject *swig_obj[6] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_importMemSlice", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_importMemSlice" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_importMemSlice" "', argument " "2"" of type '" "std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const *""'");
}
arg2 = reinterpret_cast< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_importMemSlice" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ResponseMatrixArrayND_importMemSlice" "', argument " "4"" of type '" "unsigned int const *""'");
}
arg4 = reinterpret_cast< unsigned int * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ResponseMatrixArrayND_importMemSlice" "', argument " "5"" of type '" "unsigned int const *""'");
}
arg5 = reinterpret_cast< unsigned int * >(argp5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ResponseMatrixArrayND_importMemSlice" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
(arg1)->importMemSlice2((std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > const *)arg2,arg3,(unsigned int const *)arg4,(unsigned int const *)arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_subrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayRange *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_subrange", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_subrange" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayRange, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_subrange" "', argument " "2"" of type '" "npstat::ArrayRange const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_subrange" "', argument " "2"" of type '" "npstat::ArrayRange const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayRange * >(argp2);
{
try {
result = (arg1)->subrange((npstat::ArrayRange const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(static_cast< const npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >& >(result))), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_slice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_slice", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_slice" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_slice" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_slice" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (arg1)->slice((unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >(static_cast< const npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > >& >(result))), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_rotate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg4 = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_rotate", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_rotate" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_rotate" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_rotate" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ResponseMatrixArrayND_rotate" "', argument " "4"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp4);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->rotate2((unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_mirror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg4 = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_mirror", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_mirror" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_mirror" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_mirror" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ResponseMatrixArrayND_mirror" "', argument " "4"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp4);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->mirror2((unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_exportSubrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg4 = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_exportSubrange", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_exportSubrange" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_exportSubrange" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_exportSubrange" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ResponseMatrixArrayND_exportSubrange" "', argument " "4"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp4);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->exportSubrange2((unsigned int const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_importSubrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_importSubrange", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_importSubrange" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_importSubrange" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ResponseMatrixArrayND_importSubrange" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ResponseMatrixArrayND_importSubrange" "', argument " "4"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrixArrayND_importSubrange" "', argument " "4"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp4);
{
try {
(arg1)->importSubrange2((unsigned int const *)arg2,arg3,(npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrixArrayND_multiMirror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *arg1 = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *) 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *arg2 = (npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrixArrayND_multiMirror", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrixArrayND_multiMirror" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrixArrayND_multiMirror" "', argument " "2"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > *""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > * >(argp2);
{
try {
((npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > const *)arg1)->multiMirror2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_15(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > * >(argp1);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_16(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > *arg1 = 0 ;
npstat::ArrayRange *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayRange, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "npstat::ArrayRange const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "npstat::ArrayRange const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayRange * >(argp2);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &)*arg1,(npstat::ArrayRange const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND__SWIG_17(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > *arg1 = 0 ;
unsigned int *arg2 = (unsigned int *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrixArrayND" "', argument " "1"" of type '" "npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ResponseMatrixArrayND" "', argument " "2"" of type '" "unsigned int const *""'");
}
arg2 = reinterpret_cast< unsigned int * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ResponseMatrixArrayND" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > > *)new npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >((npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &)*arg1,(unsigned int const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrixArrayND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[11] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ResponseMatrixArrayND", 0, 10, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_ResponseMatrixArrayND__SWIG_0(self, argc, argv);
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_3(self, argc, argv);
}
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_4(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_15(self, argc, argv);
}
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_5(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayRange, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_16(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_6(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_17(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_7(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_8(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_9(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_10(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_11(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_12(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_13(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[8], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ResponseMatrixArrayND__SWIG_14(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ResponseMatrixArrayND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND()\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(npstat::ArrayShape const &)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int const *,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > const &)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > > > &&)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &,npstat::ArrayRange const &)\n"
" npstat::ArrayND< std::pair< std::vector< unsigned long >,std::vector< double > > >::ArrayND(npstat::ArrayND< std::pair< std::vector< unsigned long,std::allocator< unsigned long > >,std::vector< double,std::allocator< double > > >,1U,10U > const &,unsigned int const *,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *ResponseMatrixArrayND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ArrayNDT_std__pairT_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t_std__vectorT_double_std__allocatorT_double_t_t_t_1U_10U_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ResponseMatrixArrayND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::ResponseMatrix *)new npstat::ResponseMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayShape *arg1 = 0 ;
npstat::ArrayShape *arg2 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
npstat::ResponseMatrix *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrix" "', argument " "1"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrix" "', argument " "1"" of type '" "npstat::ArrayShape const &""'");
}
arg1 = ptr;
}
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ResponseMatrix" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrix" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::ResponseMatrix *)new npstat::ResponseMatrix((npstat::ArrayShape const &)*arg1,(npstat::ArrayShape const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ArrayShape *arg1 = 0 ;
npstat::ArrayShape *arg2 = 0 ;
npstat::Matrix< double > *arg3 = 0 ;
int res1 = SWIG_OLDOBJ ;
int res2 = SWIG_OLDOBJ ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::ResponseMatrix *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ResponseMatrix" "', argument " "1"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrix" "', argument " "1"" of type '" "npstat::ArrayShape const &""'");
}
arg1 = ptr;
}
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ResponseMatrix" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrix" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ResponseMatrix" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrix" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
{
try {
result = (npstat::ResponseMatrix *)new npstat::ResponseMatrix((npstat::ArrayShape const &)*arg1,(npstat::ArrayShape const &)*arg2,(npstat::Matrix< double > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrix__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
unsigned int *arg3 = (unsigned int *) 0 ;
unsigned int arg4 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
npstat::ResponseMatrix *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UINT,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (unsigned int*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
try {
result = (npstat::ResponseMatrix *)new npstat::ResponseMatrix((unsigned int const *)arg1,arg2,(unsigned int const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrix__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
unsigned int *arg3 = (unsigned int *) 0 ;
unsigned int arg4 ;
npstat::Matrix< double > *arg5 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
npstat::ResponseMatrix *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_UINT,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (unsigned int*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[2], &argp5, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_ResponseMatrix" "', argument " "5"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ResponseMatrix" "', argument " "5"" of type '" "npstat::Matrix< double > const &""'");
}
arg5 = reinterpret_cast< npstat::Matrix< double > * >(argp5);
{
try {
result = (npstat::ResponseMatrix *)new npstat::ResponseMatrix((unsigned int const *)arg1,arg2,(unsigned int const *)arg3,arg4,(npstat::Matrix< double > const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ResponseMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ResponseMatrix", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_ResponseMatrix__SWIG_0(self, argc, argv);
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrix__SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_new_ResponseMatrix__SWIG_3(self, argc, argv);
}
return _wrap_new_ResponseMatrix__SWIG_3(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrix__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ResponseMatrix__SWIG_4(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ResponseMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ResponseMatrix::ResponseMatrix()\n"
" npstat::ResponseMatrix::ResponseMatrix(npstat::ArrayShape const &,npstat::ArrayShape const &)\n"
" npstat::ResponseMatrix::ResponseMatrix(npstat::ArrayShape const &,npstat::ArrayShape const &,npstat::Matrix< double > const &)\n"
" npstat::ResponseMatrix::ResponseMatrix(unsigned int const *,unsigned int,unsigned int const *,unsigned int)\n"
" npstat::ResponseMatrix::ResponseMatrix(unsigned int const *,unsigned int,unsigned int const *,unsigned int,npstat::Matrix< double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_shrinkToFit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_shrinkToFit" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
((npstat::ResponseMatrix const *)arg1)->shrinkToFit();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_observedShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayShape *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_observedShape" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
result = (npstat::ArrayShape *) &((npstat::ResponseMatrix const *)arg1)->observedShape();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_observedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_observedLength" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
result = (unsigned long)((npstat::ResponseMatrix const *)arg1)->observedLength();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_isValid" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
result = (bool)((npstat::ResponseMatrix const *)arg1)->isValid();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_timesVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
npstat::ArrayND< double > *arg3 = (npstat::ArrayND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_timesVector", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_timesVector" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrix_timesVector" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix_timesVector" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrix_timesVector" "', argument " "3"" of type '" "npstat::ArrayND< double > *""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double > * >(argp3);
{
try {
((npstat::ResponseMatrix const *)arg1)->timesVector((npstat::ArrayND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_rowMultiply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
npstat::ArrayND< double > *arg3 = (npstat::ArrayND< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_rowMultiply", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_rowMultiply" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrix_rowMultiply" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix_rowMultiply" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrix_rowMultiply" "', argument " "3"" of type '" "npstat::ArrayND< double > *""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double > * >(argp3);
{
try {
((npstat::ResponseMatrix const *)arg1)->rowMultiply((npstat::ArrayND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_T(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ResponseMatrix result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_T" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
result = ((npstat::ResponseMatrix const *)arg1)->T();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ResponseMatrix(static_cast< const npstat::ResponseMatrix& >(result))), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
npstat::ResponseMatrix *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix___eq__" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrix___eq__" "', argument " "2"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix___eq__" "', argument " "2"" of type '" "npstat::ResponseMatrix const &""'");
}
arg2 = reinterpret_cast< npstat::ResponseMatrix * >(argp2);
{
try {
result = (bool)((npstat::ResponseMatrix const *)arg1)->operator ==((npstat::ResponseMatrix const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
npstat::ResponseMatrix *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix___ne__" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrix___ne__" "', argument " "2"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix___ne__" "', argument " "2"" of type '" "npstat::ResponseMatrix const &""'");
}
arg2 = reinterpret_cast< npstat::ResponseMatrix * >(argp2);
{
try {
result = (bool)((npstat::ResponseMatrix const *)arg1)->operator !=((npstat::ResponseMatrix const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_denseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_denseMatrix" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
result = ((npstat::ResponseMatrix const *)arg1)->denseMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_linearEfficiency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_linearEfficiency", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_linearEfficiency" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ResponseMatrix_linearEfficiency" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::ResponseMatrix const *)arg1)->linearEfficiency(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_classId" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
result = ((npstat::ResponseMatrix const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_write" "', argument " "1"" of type '" "npstat::ResponseMatrix const *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrix_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::ResponseMatrix const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::ResponseMatrix::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::ResponseMatrix::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ResponseMatrix_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
npstat::ResponseMatrix *arg3 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "ResponseMatrix_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ResponseMatrix_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ResponseMatrix_restore" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ResponseMatrix_restore" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ResponseMatrix_restore" "', argument " "3"" of type '" "npstat::ResponseMatrix *""'");
}
arg3 = reinterpret_cast< npstat::ResponseMatrix * >(argp3);
{
try {
npstat::ResponseMatrix::restore((gs::ClassId const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ResponseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ResponseMatrix" "', argument " "1"" of type '" "npstat::ResponseMatrix *""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ResponseMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ResponseMatrix, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ResponseMatrix_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_ResponseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::ResponseMatrix > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_ResponseMatrix", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_ResponseMatrix" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_ResponseMatrix" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_ResponseMatrix" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_ResponseMatrix" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::ResponseMatrix > *)new gs::ArchiveRecord< npstat::ResponseMatrix >((npstat::ResponseMatrix const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ResponseMatrix_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_ResponseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::ResponseMatrix > *arg1 = (gs::ArchiveRecord< npstat::ResponseMatrix > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__ResponseMatrix_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_ResponseMatrix" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::ResponseMatrix > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::ResponseMatrix > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_ResponseMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__ResponseMatrix_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_ResponseMatrix_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_113(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::ResponseMatrix > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::ResponseMatrix >((npstat::ResponseMatrix const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::ResponseMatrix >(static_cast< const gs::ArchiveRecord< npstat::ResponseMatrix >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__ResponseMatrix_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ResponseMatrix__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::ResponseMatrix > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_ResponseMatrix" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::ResponseMatrix > *)new gs::Reference< npstat::ResponseMatrix >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ResponseMatrix__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::ResponseMatrix > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ResponseMatrix" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ResponseMatrix" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::ResponseMatrix > *)new gs::Reference< npstat::ResponseMatrix >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ResponseMatrix__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::ResponseMatrix > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_ResponseMatrix" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ResponseMatrix" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_ResponseMatrix" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_ResponseMatrix" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::ResponseMatrix > *)new gs::Reference< npstat::ResponseMatrix >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_ResponseMatrix(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_ResponseMatrix", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_ResponseMatrix__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ResponseMatrix__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_ResponseMatrix__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_ResponseMatrix'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::ResponseMatrix >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::ResponseMatrix >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::ResponseMatrix >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_ResponseMatrix_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ResponseMatrix > *arg1 = (gs::Reference< npstat::ResponseMatrix > *) 0 ;
unsigned long arg2 ;
npstat::ResponseMatrix *arg3 = (npstat::ResponseMatrix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ResponseMatrix_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ResponseMatrix_restore" "', argument " "1"" of type '" "gs::Reference< npstat::ResponseMatrix > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ResponseMatrix > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ResponseMatrix_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_ResponseMatrix_restore" "', argument " "3"" of type '" "npstat::ResponseMatrix *""'");
}
arg3 = reinterpret_cast< npstat::ResponseMatrix * >(argp3);
{
try {
((gs::Reference< npstat::ResponseMatrix > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ResponseMatrix_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ResponseMatrix > *arg1 = (gs::Reference< npstat::ResponseMatrix > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ResponseMatrix *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_ResponseMatrix_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ResponseMatrix_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::ResponseMatrix > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ResponseMatrix > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ResponseMatrix_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::ResponseMatrix *)gs_Reference_Sl_npstat_ResponseMatrix_Sg__retrieve((gs::Reference< npstat::ResponseMatrix > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_ResponseMatrix_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ResponseMatrix > *arg1 = (gs::Reference< npstat::ResponseMatrix > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ResponseMatrix result;
if (!SWIG_Python_UnpackTuple(args, "Ref_ResponseMatrix_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_ResponseMatrix_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::ResponseMatrix > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ResponseMatrix > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_ResponseMatrix_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_ResponseMatrix_Sg__getValue((gs::Reference< npstat::ResponseMatrix > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::ResponseMatrix(static_cast< const npstat::ResponseMatrix& >(result))), SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_ResponseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::ResponseMatrix > *arg1 = (gs::Reference< npstat::ResponseMatrix > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_ResponseMatrix" "', argument " "1"" of type '" "gs::Reference< npstat::ResponseMatrix > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::ResponseMatrix > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_ResponseMatrix_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__ResponseMatrix_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_ResponseMatrix_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsUnfoldND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsUnfoldND" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_responseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ResponseMatrix *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_responseMatrix" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = (npstat::ResponseMatrix *) &((npstat::AbsUnfoldND const *)arg1)->responseMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_efficiency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_efficiency" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::AbsUnfoldND const *)arg1)->efficiency();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_setInitialApproximation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfoldND_setInitialApproximation", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_setInitialApproximation" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_setInitialApproximation" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_setInitialApproximation" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
{
try {
(arg1)->setInitialApproximation((npstat::ArrayND< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_clearInitialApproximation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_clearInitialApproximation" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
(arg1)->clearInitialApproximation();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_getInitialApproximation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayND< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_getInitialApproximation" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = (npstat::ArrayND< double > *) &((npstat::AbsUnfoldND const *)arg1)->getInitialApproximation();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_setFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::AbsUnfoldingFilterND *arg2 = (npstat::AbsUnfoldingFilterND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfoldND_setFilter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_setFilter" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_setFilter" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const *""'");
}
arg2 = reinterpret_cast< npstat::AbsUnfoldingFilterND * >(argp2);
{
try {
(arg1)->setFilter((npstat::AbsUnfoldingFilterND const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_getFilter__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
npstat::AbsUnfoldingFilterND *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_getFilter" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsUnfoldND_getFilter" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
result = (npstat::AbsUnfoldingFilterND *)((npstat::AbsUnfoldND const *)arg1)->getFilter(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_getFilter__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::AbsUnfoldingFilterND *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_getFilter" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = (npstat::AbsUnfoldingFilterND *)((npstat::AbsUnfoldND const *)arg1)->getFilter();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_getFilter(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfoldND_getFilter", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_getFilter__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsUnfoldND_getFilter__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfoldND_getFilter'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfoldND::getFilter(bool) const\n"
" npstat::AbsUnfoldND::getFilter() const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_useConvolutions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfoldND_useConvolutions", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_useConvolutions" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsUnfoldND_useConvolutions" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useConvolutions(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_usingConvolutions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_usingConvolutions" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = (bool)((npstat::AbsUnfoldND const *)arg1)->usingConvolutions();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_getObservedShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayShape result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_getObservedShape" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = ((npstat::AbsUnfoldND const *)arg1)->getObservedShape();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_getUnfoldedShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ArrayShape result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_getUnfoldedShape" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
try {
result = ((npstat::AbsUnfoldND const *)arg1)->getUnfoldedShape();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< unsigned int,std::allocator< unsigned int > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_validateUnfoldedShape__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_validateUnfoldedShape" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_validateUnfoldedShape" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_validateUnfoldedShape" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
{
try {
((npstat::AbsUnfoldND const *)arg1)->validateUnfoldedShape((npstat::ArrayND< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_validateUnfoldedShape__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayShape *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_validateUnfoldedShape" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_validateUnfoldedShape" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_validateUnfoldedShape" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
{
try {
((npstat::AbsUnfoldND const *)arg1)->validateUnfoldedShape((npstat::ArrayShape const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_validateUnfoldedShape(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfoldND_validateUnfoldedShape", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_validateUnfoldedShape__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_validateUnfoldedShape__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfoldND_validateUnfoldedShape'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfoldND::validateUnfoldedShape(npstat::ArrayND< double > const &) const\n"
" npstat::AbsUnfoldND::validateUnfoldedShape(npstat::ArrayShape const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_validateObservedShape__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_validateObservedShape" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_validateObservedShape" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_validateObservedShape" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
{
try {
((npstat::AbsUnfoldND const *)arg1)->validateObservedShape((npstat::ArrayND< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_validateObservedShape__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayShape *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_validateObservedShape" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
{
std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_validateObservedShape" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_validateObservedShape" "', argument " "2"" of type '" "npstat::ArrayShape const &""'");
}
arg2 = ptr;
}
{
try {
((npstat::AbsUnfoldND const *)arg1)->validateObservedShape((npstat::ArrayShape const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_validateObservedShape(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfoldND_validateObservedShape", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_validateObservedShape__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< unsigned int,std::allocator< unsigned int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_validateObservedShape__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfoldND_validateObservedShape'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfoldND::validateObservedShape(npstat::ArrayND< double > const &) const\n"
" npstat::AbsUnfoldND::validateObservedShape(npstat::ArrayShape const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_probDelta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ArrayND< double > *arg1 = 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfoldND_probDelta", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_probDelta" "', argument " "1"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_probDelta" "', argument " "1"" of type '" "npstat::ArrayND< double > const &""'");
}
arg1 = reinterpret_cast< npstat::ArrayND< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_probDelta" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_probDelta" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
{
try {
result = (double)npstat::AbsUnfoldND::probDelta((npstat::ArrayND< double > const &)*arg1,(npstat::ArrayND< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_unfold__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
npstat::Matrix< double > *arg3 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_unfold" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_unfold" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_unfold" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsUnfoldND_unfold" "', argument " "3"" of type '" "npstat::Matrix< double > *""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
{
try {
result = (npstat::ArrayND< double > *)(arg1)->unfold2((npstat::ArrayND< double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_unfold__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
npstat::Matrix< double > *arg3 = 0 ;
npstat::Matrix< double > *arg4 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_unfold" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_unfold" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_unfold" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsUnfoldND_unfold" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_unfold" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsUnfoldND_unfold" "', argument " "4"" of type '" "npstat::Matrix< double > *""'");
}
arg4 = reinterpret_cast< npstat::Matrix< double > * >(argp4);
{
try {
result = (npstat::ArrayND< double > *)(arg1)->unfold2((npstat::ArrayND< double > const &)*arg2,(npstat::Matrix< double > const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_unfold(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfoldND_unfold", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_unfold__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_unfold__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfoldND_unfold'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfoldND::unfold2(npstat::ArrayND< double > const &,npstat::Matrix< double > *)\n"
" npstat::AbsUnfoldND::unfold2(npstat::ArrayND< double > const &,npstat::Matrix< double > const &,npstat::Matrix< double > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_unfoldNoCov__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
{
try {
result = (npstat::ArrayND< double > *)(arg1)->unfoldNoCov((npstat::ArrayND< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_unfoldNoCov__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
npstat::Matrix< double > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::ArrayND< double > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "1"" of type '" "npstat::AbsUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_unfoldNoCov" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
{
try {
result = (npstat::ArrayND< double > *)(arg1)->unfoldNoCov((npstat::ArrayND< double > const &)*arg2,(npstat::Matrix< double > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_unfoldNoCov(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfoldND_unfoldNoCov", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_unfoldNoCov__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfoldND, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfoldND_unfoldNoCov__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfoldND_unfoldNoCov'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfoldND::unfoldNoCov(npstat::ArrayND< double > const &)\n"
" npstat::AbsUnfoldND::unfoldNoCov(npstat::ArrayND< double > const &,npstat::Matrix< double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfoldND_fold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfoldND *arg1 = (npstat::AbsUnfoldND *) 0 ;
npstat::ArrayND< double > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::ArrayND< double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfoldND_fold", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfoldND_fold" "', argument " "1"" of type '" "npstat::AbsUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfoldND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfoldND_fold" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfoldND_fold" "', argument " "2"" of type '" "npstat::ArrayND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::ArrayND< double > * >(argp2);
{
try {
result = (npstat::ArrayND< double > *)((npstat::AbsUnfoldND const *)arg1)->fold((npstat::ArrayND< double > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AbsUnfoldND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsUnfoldND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfoldND__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
npstat::AbsUnfoldingFilterND *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
bool arg5 ;
double arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
npstat::SmoothedEMUnfoldND *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsUnfoldingFilterND * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfoldND" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfoldND" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SmoothedEMUnfoldND" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SmoothedEMUnfoldND" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SmoothedEMUnfoldND" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::SmoothedEMUnfoldND *)new npstat::SmoothedEMUnfoldND((npstat::ResponseMatrix const &)*arg1,(npstat::AbsUnfoldingFilterND const &)*arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfoldND__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
npstat::AbsUnfoldingFilterND *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
bool arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
npstat::SmoothedEMUnfoldND *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsUnfoldingFilterND * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfoldND" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfoldND" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SmoothedEMUnfoldND" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SmoothedEMUnfoldND" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (npstat::SmoothedEMUnfoldND *)new npstat::SmoothedEMUnfoldND((npstat::ResponseMatrix const &)*arg1,(npstat::AbsUnfoldingFilterND const &)*arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfoldND__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
npstat::AbsUnfoldingFilterND *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::SmoothedEMUnfoldND *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsUnfoldingFilterND * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfoldND" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfoldND" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SmoothedEMUnfoldND" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::SmoothedEMUnfoldND *)new npstat::SmoothedEMUnfoldND((npstat::ResponseMatrix const &)*arg1,(npstat::AbsUnfoldingFilterND const &)*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfoldND__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
npstat::AbsUnfoldingFilterND *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
npstat::SmoothedEMUnfoldND *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsUnfoldingFilterND * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfoldND" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfoldND" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (npstat::SmoothedEMUnfoldND *)new npstat::SmoothedEMUnfoldND((npstat::ResponseMatrix const &)*arg1,(npstat::AbsUnfoldingFilterND const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfoldND__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ResponseMatrix *arg1 = 0 ;
npstat::AbsUnfoldingFilterND *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::SmoothedEMUnfoldND *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__ResponseMatrix, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::ResponseMatrix const &""'");
}
arg1 = reinterpret_cast< npstat::ResponseMatrix * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfoldND" "', argument " "2"" of type '" "npstat::AbsUnfoldingFilterND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsUnfoldingFilterND * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfoldND" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::SmoothedEMUnfoldND *)new npstat::SmoothedEMUnfoldND((npstat::ResponseMatrix const &)*arg1,(npstat::AbsUnfoldingFilterND const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfoldND(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_SmoothedEMUnfoldND", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfoldND__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfoldND__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfoldND__SWIG_2(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfoldND__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__ResponseMatrix, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsUnfoldingFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfoldND__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SmoothedEMUnfoldND'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::SmoothedEMUnfoldND::SmoothedEMUnfoldND(npstat::ResponseMatrix const &,npstat::AbsUnfoldingFilterND const &,bool,bool,bool,double,unsigned int)\n"
" npstat::SmoothedEMUnfoldND::SmoothedEMUnfoldND(npstat::ResponseMatrix const &,npstat::AbsUnfoldingFilterND const &,bool,bool,bool,double)\n"
" npstat::SmoothedEMUnfoldND::SmoothedEMUnfoldND(npstat::ResponseMatrix const &,npstat::AbsUnfoldingFilterND const &,bool,bool,bool)\n"
" npstat::SmoothedEMUnfoldND::SmoothedEMUnfoldND(npstat::ResponseMatrix const &,npstat::AbsUnfoldingFilterND const &,bool,bool)\n"
" npstat::SmoothedEMUnfoldND::SmoothedEMUnfoldND(npstat::ResponseMatrix const &,npstat::AbsUnfoldingFilterND const &,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_SmoothedEMUnfoldND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SmoothedEMUnfoldND" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_setMaxIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfoldND_setMaxIterations", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_setMaxIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfoldND_setMaxIterations" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setMaxIterations(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_useMultinomialCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfoldND_useMultinomialCovariance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_useMultinomialCovariance" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfoldND_useMultinomialCovariance" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMultinomialCovariance(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_smoothLastIteration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfoldND_smoothLastIteration", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_smoothLastIteration" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfoldND_smoothLastIteration" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->smoothLastIteration(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_setConvergenceEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfoldND_setConvergenceEpsilon", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_setConvergenceEpsilon" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfoldND_setConvergenceEpsilon" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setConvergenceEpsilon(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_convergenceEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_convergenceEpsilon" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (double)((npstat::SmoothedEMUnfoldND const *)arg1)->convergenceEpsilon();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_maxIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_maxIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (unsigned int)((npstat::SmoothedEMUnfoldND const *)arg1)->maxIterations();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_usingMultinomialCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_usingMultinomialCovariance" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (bool)((npstat::SmoothedEMUnfoldND const *)arg1)->usingMultinomialCovariance();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_smoothingLastIteration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_smoothingLastIteration" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (bool)((npstat::SmoothedEMUnfoldND const *)arg1)->smoothingLastIteration();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_lastNIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_lastNIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (unsigned int)((npstat::SmoothedEMUnfoldND const *)arg1)->lastNIterations();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_lastEPIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_lastEPIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (unsigned int)((npstat::SmoothedEMUnfoldND const *)arg1)->lastEPIterations();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfoldND_lastSmoothingNormfactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfoldND *arg1 = (npstat::SmoothedEMUnfoldND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfoldND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfoldND_lastSmoothingNormfactor" "', argument " "1"" of type '" "npstat::SmoothedEMUnfoldND const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfoldND * >(argp1);
{
try {
result = (double)((npstat::SmoothedEMUnfoldND const *)arg1)->lastSmoothingNormfactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SmoothedEMUnfoldND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SmoothedEMUnfoldND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *SmoothedEMUnfoldND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_PowerRatio1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
int arg3 ;
unsigned int arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
npstat::PowerRatio1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_PowerRatio1D", 4, 4, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_PowerRatio1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PowerRatio1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_PowerRatio1D" "', argument " "3"" of type '" "int""'");
}
arg3 = static_cast< int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_PowerRatio1D" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::PowerRatio1D *)new npstat::PowerRatio1D(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerRatio1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = (npstat::PowerRatio1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::PowerRatio1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerRatio1D_clone" "', argument " "1"" of type '" "npstat::PowerRatio1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
{
try {
result = (npstat::PowerRatio1D *)((npstat::PowerRatio1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerRatio1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_PowerRatio1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = (npstat::PowerRatio1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerRatio1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PowerRatio1D" "', argument " "1"" of type '" "npstat::PowerRatio1D *""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_twom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = (npstat::PowerRatio1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerRatio1D_twom" "', argument " "1"" of type '" "npstat::PowerRatio1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
{
try {
result = (unsigned int)((npstat::PowerRatio1D const *)arg1)->twom();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_n(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = (npstat::PowerRatio1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerRatio1D_n" "', argument " "1"" of type '" "npstat::PowerRatio1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
{
try {
result = (unsigned int)((npstat::PowerRatio1D const *)arg1)->n();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = (npstat::PowerRatio1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerRatio1D_classId" "', argument " "1"" of type '" "npstat::PowerRatio1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
{
try {
result = ((npstat::PowerRatio1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = (npstat::PowerRatio1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "PowerRatio1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerRatio1D_write" "', argument " "1"" of type '" "npstat::PowerRatio1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PowerRatio1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerRatio1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::PowerRatio1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "PowerRatio1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::PowerRatio1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "PowerRatio1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::PowerRatio1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerRatio1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::PowerRatio1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "PowerRatio1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerRatio1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerRatio1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PowerRatio1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerRatio1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::PowerRatio1D *)npstat::PowerRatio1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerRatio1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PowerRatio1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__PowerRatio1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *PowerRatio1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_PowerRatio1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::PowerRatio1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_PowerRatio1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_PowerRatio1D" "', argument " "1"" of type '" "npstat::PowerRatio1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_PowerRatio1D" "', argument " "1"" of type '" "npstat::PowerRatio1D const &""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_PowerRatio1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_PowerRatio1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::PowerRatio1D > *)new gs::ArchiveRecord< npstat::PowerRatio1D >((npstat::PowerRatio1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerRatio1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_PowerRatio1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::PowerRatio1D > *arg1 = (gs::ArchiveRecord< npstat::PowerRatio1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerRatio1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_PowerRatio1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::PowerRatio1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::PowerRatio1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_PowerRatio1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerRatio1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_PowerRatio1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_114(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::PowerRatio1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::PowerRatio1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::PowerRatio1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::PowerRatio1D const &""'");
}
arg1 = reinterpret_cast< npstat::PowerRatio1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::PowerRatio1D >((npstat::PowerRatio1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::PowerRatio1D >(static_cast< const gs::ArchiveRecord< npstat::PowerRatio1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerRatio1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerRatio1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::PowerRatio1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_PowerRatio1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::PowerRatio1D > *)new gs::Reference< npstat::PowerRatio1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerRatio1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::PowerRatio1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_PowerRatio1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_PowerRatio1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::PowerRatio1D > *)new gs::Reference< npstat::PowerRatio1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerRatio1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::PowerRatio1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_PowerRatio1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerRatio1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_PowerRatio1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerRatio1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::PowerRatio1D > *)new gs::Reference< npstat::PowerRatio1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerRatio1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_PowerRatio1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_PowerRatio1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_PowerRatio1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_PowerRatio1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_PowerRatio1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::PowerRatio1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::PowerRatio1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::PowerRatio1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_PowerRatio1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerRatio1D > *arg1 = (gs::Reference< npstat::PowerRatio1D > *) 0 ;
unsigned long arg2 ;
npstat::PowerRatio1D *arg3 = (npstat::PowerRatio1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerRatio1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerRatio1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::PowerRatio1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerRatio1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerRatio1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__PowerRatio1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_PowerRatio1D_restore" "', argument " "3"" of type '" "npstat::PowerRatio1D *""'");
}
arg3 = reinterpret_cast< npstat::PowerRatio1D * >(argp3);
{
try {
((gs::Reference< npstat::PowerRatio1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_PowerRatio1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerRatio1D > *arg1 = (gs::Reference< npstat::PowerRatio1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::PowerRatio1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerRatio1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerRatio1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::PowerRatio1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerRatio1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerRatio1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::PowerRatio1D *)gs_Reference_Sl_npstat_PowerRatio1D_Sg__retrieve((gs::Reference< npstat::PowerRatio1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerRatio1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_PowerRatio1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerRatio1D > *arg1 = (gs::Reference< npstat::PowerRatio1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::PowerRatio1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerRatio1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerRatio1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::PowerRatio1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerRatio1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerRatio1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_PowerRatio1D_Sg__getValue((gs::Reference< npstat::PowerRatio1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::PowerRatio1D(static_cast< const npstat::PowerRatio1D& >(result))), SWIGTYPE_p_npstat__PowerRatio1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_PowerRatio1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerRatio1D > *arg1 = (gs::Reference< npstat::PowerRatio1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_PowerRatio1D" "', argument " "1"" of type '" "gs::Reference< npstat::PowerRatio1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerRatio1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_PowerRatio1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__PowerRatio1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_PowerRatio1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_SmoothCDGOFTest1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
unsigned char *arg3 = (unsigned char *) 0 ;
unsigned int arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::SmoothCDGOFTest1D *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SmoothCDGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SmoothCDGOFTest1D" "', argument " "3"" of type '" "unsigned char const *""'");
}
arg3 = reinterpret_cast< unsigned char * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothCDGOFTest1D" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::SmoothCDGOFTest1D *)new npstat::SmoothCDGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,(unsigned char const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothCDGOFTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothCDGOFTest1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
unsigned char *arg3 = (unsigned char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::SmoothCDGOFTest1D *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SmoothCDGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SmoothCDGOFTest1D" "', argument " "3"" of type '" "unsigned char const *""'");
}
arg3 = reinterpret_cast< unsigned char * >(argp3);
{
try {
result = (npstat::SmoothCDGOFTest1D *)new npstat::SmoothCDGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2,(unsigned char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothCDGOFTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothCDGOFTest1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
npstat::SmoothCDGOFTest1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SmoothCDGOFTest1D" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::SmoothCDGOFTest1D *)new npstat::SmoothCDGOFTest1D((npstat::AbsDistribution1D const &)*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothCDGOFTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothCDGOFTest1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
std::vector< int,std::allocator< int > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::SmoothCDGOFTest1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothCDGOFTest1D" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothCDGOFTest1D" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::SmoothCDGOFTest1D *)new npstat::SmoothCDGOFTest1D((npstat::AbsDistribution1D const &)*arg1,(std::vector< int,std::allocator< int > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothCDGOFTest1D, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothCDGOFTest1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_SmoothCDGOFTest1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothCDGOFTest1D__SWIG_2(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< int,std::allocator< int > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_SmoothCDGOFTest1D__SWIG_3(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_SmoothCDGOFTest1D__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_unsigned_char, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothCDGOFTest1D__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SmoothCDGOFTest1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::SmoothCDGOFTest1D::SmoothCDGOFTest1D(npstat::AbsDistribution1D const &,unsigned int const,unsigned char const *,unsigned int const)\n"
" npstat::SmoothCDGOFTest1D::SmoothCDGOFTest1D(npstat::AbsDistribution1D const &,unsigned int const,unsigned char const *)\n"
" npstat::SmoothCDGOFTest1D::SmoothCDGOFTest1D(npstat::AbsDistribution1D const &,unsigned int const)\n"
" npstat::SmoothCDGOFTest1D::SmoothCDGOFTest1D(npstat::AbsDistribution1D const &,std::vector< int,std::allocator< int > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_SmoothCDGOFTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothCDGOFTest1D *arg1 = (npstat::SmoothCDGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothCDGOFTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SmoothCDGOFTest1D" "', argument " "1"" of type '" "npstat::SmoothCDGOFTest1D *""'");
}
arg1 = reinterpret_cast< npstat::SmoothCDGOFTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothCDGOFTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothCDGOFTest1D *arg1 = (npstat::SmoothCDGOFTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothCDGOFTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothCDGOFTest1D_shortName" "', argument " "1"" of type '" "npstat::SmoothCDGOFTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothCDGOFTest1D * >(argp1);
{
try {
result = ((npstat::SmoothCDGOFTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SmoothCDGOFTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SmoothCDGOFTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *SmoothCDGOFTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::vector< double > > *arg1 = (npstat::AbsDistro1DBuilder< std::vector< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::vector< double > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::vector< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::vector< double > > *arg1 = (npstat::AbsDistro1DBuilder< std::vector< double > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::vector< double,std::allocator< double > >::value_type,std::allocator< std::vector< double,std::allocator< double > >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::vector< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::vector< double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder_build" "', argument " "6"" of type '" "std::vector< std::vector< double,std::allocator< double > >::value_type,std::allocator< std::vector< double,std::allocator< double > >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder_build" "', argument " "6"" of type '" "std::vector< std::vector< double,std::allocator< double > >::value_type,std::allocator< std::vector< double,std::allocator< double > >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::vector< double,std::allocator< double > >::value_type,std::allocator< std::vector< double,std::allocator< double > >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::vector< double > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::vector< double > > *arg1 = (npstat::AbsDistro1DBuilder< std::vector< double > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::vector< double > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__vectorT_double_std__allocatorT_double_t_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::vector< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::vector< double > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__vectorT_double_std__allocatorT_double_t_t_const_p_double_t_std__allocatorT_std__pairT_std__vectorT_double_std__allocatorT_double_t_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::vector< double > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::vector< double > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::vector< double > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::vector< double > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::vector< double > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder2D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,2U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,2U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder2D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder2D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,2U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,2U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,2U >::value_type,std::allocator< std::array< double,2U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder2D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder2D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder2D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder2D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder2D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder2D_build" "', argument " "6"" of type '" "std::vector< std::array< double,2U >::value_type,std::allocator< std::array< double,2U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder2D_build" "', argument " "6"" of type '" "std::vector< std::array< double,2U >::value_type,std::allocator< std::array< double,2U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,2U >::value_type,std::allocator< std::array< double,2U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,2U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder2D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,2U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,2U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,2U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder2D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_2U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_2U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,2U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,2U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder2D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,2U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,2U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_2U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder3D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,3U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,3U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder3D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder3D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,3U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,3U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,3U >::value_type,std::allocator< std::array< double,3U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder3D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder3D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder3D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder3D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder3D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder3D_build" "', argument " "6"" of type '" "std::vector< std::array< double,3U >::value_type,std::allocator< std::array< double,3U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder3D_build" "', argument " "6"" of type '" "std::vector< std::array< double,3U >::value_type,std::allocator< std::array< double,3U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,3U >::value_type,std::allocator< std::array< double,3U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,3U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder3D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,3U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,3U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,3U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder3D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_3U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_3U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,3U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,3U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder3D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,3U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,3U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder3D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_3U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder4D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,4U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,4U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder4D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder4D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,4U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,4U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,4U >::value_type,std::allocator< std::array< double,4U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder4D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder4D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder4D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder4D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder4D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder4D_build" "', argument " "6"" of type '" "std::vector< std::array< double,4U >::value_type,std::allocator< std::array< double,4U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder4D_build" "', argument " "6"" of type '" "std::vector< std::array< double,4U >::value_type,std::allocator< std::array< double,4U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,4U >::value_type,std::allocator< std::array< double,4U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,4U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder4D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,4U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,4U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,4U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder4D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_4U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_4U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,4U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,4U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder4D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,4U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,4U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder4D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_4U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder5D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,5U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,5U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder5D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder5D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,5U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,5U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,5U >::value_type,std::allocator< std::array< double,5U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder5D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder5D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder5D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder5D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder5D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder5D_build" "', argument " "6"" of type '" "std::vector< std::array< double,5U >::value_type,std::allocator< std::array< double,5U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder5D_build" "', argument " "6"" of type '" "std::vector< std::array< double,5U >::value_type,std::allocator< std::array< double,5U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,5U >::value_type,std::allocator< std::array< double,5U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,5U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder5D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,5U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,5U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,5U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder5D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_5U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_5U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,5U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,5U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder5D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,5U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,5U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder5D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_5U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder6D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,6U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,6U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder6D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder6D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,6U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,6U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,6U >::value_type,std::allocator< std::array< double,6U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder6D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder6D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder6D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder6D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder6D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder6D_build" "', argument " "6"" of type '" "std::vector< std::array< double,6U >::value_type,std::allocator< std::array< double,6U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder6D_build" "', argument " "6"" of type '" "std::vector< std::array< double,6U >::value_type,std::allocator< std::array< double,6U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,6U >::value_type,std::allocator< std::array< double,6U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,6U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder6D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,6U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,6U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,6U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder6D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_6U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_6U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,6U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,6U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder6D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,6U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,6U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder6D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_6U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder7D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,7U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,7U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder7D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder7D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,7U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,7U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,7U >::value_type,std::allocator< std::array< double,7U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder7D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder7D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder7D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder7D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder7D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder7D_build" "', argument " "6"" of type '" "std::vector< std::array< double,7U >::value_type,std::allocator< std::array< double,7U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder7D_build" "', argument " "6"" of type '" "std::vector< std::array< double,7U >::value_type,std::allocator< std::array< double,7U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,7U >::value_type,std::allocator< std::array< double,7U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,7U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder7D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,7U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,7U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,7U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder7D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_7U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_7U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,7U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,7U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder7D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,7U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,7U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder7D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_7U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder8D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,8U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,8U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder8D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder8D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,8U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,8U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,8U >::value_type,std::allocator< std::array< double,8U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder8D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder8D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder8D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder8D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder8D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder8D_build" "', argument " "6"" of type '" "std::vector< std::array< double,8U >::value_type,std::allocator< std::array< double,8U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder8D_build" "', argument " "6"" of type '" "std::vector< std::array< double,8U >::value_type,std::allocator< std::array< double,8U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,8U >::value_type,std::allocator< std::array< double,8U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,8U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder8D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,8U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,8U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,8U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder8D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_8U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_8U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,8U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,8U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder8D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,8U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,8U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder8D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_8U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder9D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,9U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,9U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder9D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder9D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,9U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,9U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,9U >::value_type,std::allocator< std::array< double,9U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder9D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder9D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder9D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder9D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder9D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder9D_build" "', argument " "6"" of type '" "std::vector< std::array< double,9U >::value_type,std::allocator< std::array< double,9U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder9D_build" "', argument " "6"" of type '" "std::vector< std::array< double,9U >::value_type,std::allocator< std::array< double,9U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,9U >::value_type,std::allocator< std::array< double,9U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,9U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder9D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,9U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,9U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,9U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder9D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_9U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_9U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,9U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,9U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder9D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,9U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,9U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder9D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_9U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_AbsDistro1DBuilder10D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,10U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,10U > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsDistro1DBuilder10D" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder10D_build(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,10U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,10U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
std::vector< std::array< double,10U >::value_type,std::allocator< std::array< double,10U >::value_type > > *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[5] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder10D_build", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder10D_build" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder10D_build" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder10D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder10D_build" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder10D_build" "', argument " "6"" of type '" "std::vector< std::array< double,10U >::value_type,std::allocator< std::array< double,10U >::value_type > > &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder10D_build" "', argument " "6"" of type '" "std::vector< std::array< double,10U >::value_type,std::allocator< std::array< double,10U >::value_type > > &""'");
}
arg6 = reinterpret_cast< std::vector< std::array< double,10U >::value_type,std::allocator< std::array< double,10U >::value_type > > * >(argp6);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,10U > > const *)arg1)->build(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsDistro1DBuilder10D_buildWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistro1DBuilder< std::array< double,10U > > *arg1 = (npstat::AbsDistro1DBuilder< std::array< double,10U > > *) 0 ;
unsigned long arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
npstat::BoxND< double > *arg5 = 0 ;
npstat::AbsDistro1DBuilder< std::array< double,10U > >::WeightedPtrVec *arg6 = 0 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
PyObject *swig_obj[6] ;
npstat::AbsDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsDistro1DBuilder10D_buildWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "1"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[2],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__BoxNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "5"" of type '" "npstat::BoxND< double > const &""'");
}
arg5 = reinterpret_cast< npstat::BoxND< double > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_std__vectorT_std__pairT_std__arrayT_double_10U_t_const_p_double_t_std__allocatorT_std__pairT_std__arrayT_double_10U_t_const_p_double_t_t_t, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > >::WeightedPtrVec const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "6"" of type '" "npstat::AbsDistro1DBuilder< std::array< double,10U > >::WeightedPtrVec const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistro1DBuilder< std::array< double,10U > >::WeightedPtrVec * >(argp6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AbsDistro1DBuilder10D_buildWeighted" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::AbsDistro1DBuilder< std::array< double,10U > > const *)arg1)->buildWeighted(arg2,(double const *)arg3,arg4,(npstat::BoxND< double > const &)*arg5,(npstat::AbsDistro1DBuilder< std::array< double,10U > >::WeightedPtrVec const &)*arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsDistro1DBuilder10D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsDistro1DBuilderT_std__arrayT_double_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_LOrPEWeightsLocalConvergence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
bool arg3 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::LOrPEWeightsLocalConvergence *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPEWeightsLocalConvergence", 3, 3, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPEWeightsLocalConvergence" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPEWeightsLocalConvergence" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPEWeightsLocalConvergence" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::LOrPEWeightsLocalConvergence *)new npstat::LOrPEWeightsLocalConvergence(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEWeightsLocalConvergence_tol(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsLocalConvergence *arg1 = (npstat::LOrPEWeightsLocalConvergence *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsLocalConvergence_tol" "', argument " "1"" of type '" "npstat::LOrPEWeightsLocalConvergence const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp1);
{
try {
result = (double)((npstat::LOrPEWeightsLocalConvergence const *)arg1)->tol();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEWeightsLocalConvergence_normPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsLocalConvergence *arg1 = (npstat::LOrPEWeightsLocalConvergence *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsLocalConvergence_normPower" "', argument " "1"" of type '" "npstat::LOrPEWeightsLocalConvergence const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp1);
{
try {
result = (double)((npstat::LOrPEWeightsLocalConvergence const *)arg1)->normPower();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPEWeightsLocalConvergence_checkingConVergenceForDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsLocalConvergence *arg1 = (npstat::LOrPEWeightsLocalConvergence *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPEWeightsLocalConvergence_checkingConVergenceForDensity" "', argument " "1"" of type '" "npstat::LOrPEWeightsLocalConvergence const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp1);
{
try {
result = (bool)((npstat::LOrPEWeightsLocalConvergence const *)arg1)->checkingConVergenceForDensity();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPEWeightsLocalConvergence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPEWeightsLocalConvergence *arg1 = (npstat::LOrPEWeightsLocalConvergence *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPEWeightsLocalConvergence" "', argument " "1"" of type '" "npstat::LOrPEWeightsLocalConvergence *""'");
}
arg1 = reinterpret_cast< npstat::LOrPEWeightsLocalConvergence * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPEWeightsLocalConvergence_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPEWeightsLocalConvergence, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPEWeightsLocalConvergence_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LOrPECopulaSmoother_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
npstat::AbsDistributionND *arg5 = 0 ;
double *arg6 = (double *) 0 ;
unsigned int arg7 ;
double arg8 ;
npstat::LOrPECopulaSmoother< 10U >::Base::CVCalc *arg9 = (npstat::LOrPECopulaSmoother< 10U >::Base::CVCalc *) 0 ;
bool arg10 ;
double arg11 ;
unsigned int arg12 ;
bool arg13 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyArrayObject *array6 = NULL ;
int is_new_object6 = 0 ;
double val8 ;
int ecode8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
bool val10 ;
int ecode10 = 0 ;
double val11 ;
int ecode11 = 0 ;
unsigned int val12 ;
int ecode12 = 0 ;
bool val13 ;
int ecode13 = 0 ;
PyObject *swig_obj[11] ;
npstat::LOrPECopulaSmoother< 10U > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LOrPECopulaSmoother_10", 11, 11, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "5"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPECopulaSmoother_10" "', argument " "5"" of type '" "npstat::AbsDistributionND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistributionND * >(argp5);
{
npy_intp size[1] = {
-1
};
array6 = obj_to_array_contiguous_allow_conversion(swig_obj[4],
NPY_DOUBLE,
&is_new_object6);
if (!array6 || !require_dimensions(array6, 1) ||
!require_size(array6, size, 1)) SWIG_fail;
arg6 = (double*) array_data(array6);
arg7 = (int) array_size(array6,0);
}
ecode8 = SWIG_AsVal_double(swig_obj[5], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
res9 = SWIG_ConvertPtr(swig_obj[6], &argp9,SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "9"" of type '" "npstat::LOrPECopulaSmoother< 10U >::Base::CVCalc const *""'");
}
arg9 = reinterpret_cast< npstat::LOrPECopulaSmoother< 10U >::Base::CVCalc * >(argp9);
ecode10 = SWIG_AsVal_bool(swig_obj[7], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "10"" of type '" "bool""'");
}
arg10 = static_cast< bool >(val10);
ecode11 = SWIG_AsVal_double(swig_obj[8], &val11);
if (!SWIG_IsOK(ecode11)) {
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "11"" of type '" "double""'");
}
arg11 = static_cast< double >(val11);
ecode12 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val12);
if (!SWIG_IsOK(ecode12)) {
SWIG_exception_fail(SWIG_ArgError(ecode12), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "12"" of type '" "unsigned int""'");
}
arg12 = static_cast< unsigned int >(val12);
ecode13 = SWIG_AsVal_bool(swig_obj[10], &val13);
if (!SWIG_IsOK(ecode13)) {
SWIG_exception_fail(SWIG_ArgError(ecode13), "in method '" "new_LOrPECopulaSmoother_10" "', argument " "13"" of type '" "bool""'");
}
arg13 = static_cast< bool >(val13);
{
try {
result = (npstat::LOrPECopulaSmoother< 10U > *)new npstat::LOrPECopulaSmoother< 10U >((unsigned int const *)arg1,arg2,arg3,arg4,(npstat::AbsDistributionND const &)*arg5,(double const *)arg6,arg7,arg8,(npstat::LOrPECopulaSmoother< 10U >::Base::CVCalc const *)arg9,arg10,arg11,arg12,arg13);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPECopulaSmootherT_10U_t, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object6 && array6)
{
Py_DECREF(array6);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_LOrPECopulaSmoother_10(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPECopulaSmoother< 10U > *arg1 = (npstat::LOrPECopulaSmoother< 10U > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPECopulaSmootherT_10U_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPECopulaSmoother_10" "', argument " "1"" of type '" "npstat::LOrPECopulaSmoother< 10U > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPECopulaSmoother< 10U > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPECopulaSmoother_10_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPECopulaSmootherT_10U_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPECopulaSmoother_10_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UGaussConvolution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
npstat::UGaussConvolution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UGaussConvolution1D", 4, 4, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_UGaussConvolution1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_UGaussConvolution1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_UGaussConvolution1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_UGaussConvolution1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::UGaussConvolution1D *)new npstat::UGaussConvolution1D(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UGaussConvolution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UGaussConvolution1D *arg1 = (npstat::UGaussConvolution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::UGaussConvolution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UGaussConvolution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UGaussConvolution1D_clone" "', argument " "1"" of type '" "npstat::UGaussConvolution1D const *""'");
}
arg1 = reinterpret_cast< npstat::UGaussConvolution1D * >(argp1);
{
try {
result = (npstat::UGaussConvolution1D *)((npstat::UGaussConvolution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UGaussConvolution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UGaussConvolution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UGaussConvolution1D *arg1 = (npstat::UGaussConvolution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UGaussConvolution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UGaussConvolution1D" "', argument " "1"" of type '" "npstat::UGaussConvolution1D *""'");
}
arg1 = reinterpret_cast< npstat::UGaussConvolution1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_leftEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UGaussConvolution1D *arg1 = (npstat::UGaussConvolution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UGaussConvolution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UGaussConvolution1D_leftEdge" "', argument " "1"" of type '" "npstat::UGaussConvolution1D const *""'");
}
arg1 = reinterpret_cast< npstat::UGaussConvolution1D * >(argp1);
{
try {
result = (double)((npstat::UGaussConvolution1D const *)arg1)->leftEdge();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_uniformWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UGaussConvolution1D *arg1 = (npstat::UGaussConvolution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UGaussConvolution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UGaussConvolution1D_uniformWidth" "', argument " "1"" of type '" "npstat::UGaussConvolution1D const *""'");
}
arg1 = reinterpret_cast< npstat::UGaussConvolution1D * >(argp1);
{
try {
result = (double)((npstat::UGaussConvolution1D const *)arg1)->uniformWidth();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UGaussConvolution1D *arg1 = (npstat::UGaussConvolution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UGaussConvolution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UGaussConvolution1D_classId" "', argument " "1"" of type '" "npstat::UGaussConvolution1D const *""'");
}
arg1 = reinterpret_cast< npstat::UGaussConvolution1D * >(argp1);
{
try {
result = ((npstat::UGaussConvolution1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UGaussConvolution1D *arg1 = (npstat::UGaussConvolution1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "UGaussConvolution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UGaussConvolution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UGaussConvolution1D_write" "', argument " "1"" of type '" "npstat::UGaussConvolution1D const *""'");
}
arg1 = reinterpret_cast< npstat::UGaussConvolution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UGaussConvolution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UGaussConvolution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::UGaussConvolution1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "UGaussConvolution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::UGaussConvolution1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "UGaussConvolution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::UGaussConvolution1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UGaussConvolution1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::UGaussConvolution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "UGaussConvolution1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UGaussConvolution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UGaussConvolution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UGaussConvolution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UGaussConvolution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::UGaussConvolution1D *)npstat::UGaussConvolution1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UGaussConvolution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UGaussConvolution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__UGaussConvolution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UGaussConvolution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_KSTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::KSTest1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KSTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KSTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::KSTest1D *)new npstat::KSTest1D((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__KSTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_KSTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KSTest1D *arg1 = (npstat::KSTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KSTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KSTest1D" "', argument " "1"" of type '" "npstat::KSTest1D *""'");
}
arg1 = reinterpret_cast< npstat::KSTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_KSTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KSTest1D *arg1 = (npstat::KSTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KSTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KSTest1D_shortName" "', argument " "1"" of type '" "npstat::KSTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KSTest1D * >(argp1);
{
try {
result = ((npstat::KSTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_KSTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KSTest1D *arg1 = (npstat::KSTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KSTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KSTest1D_testStatistic" "', argument " "1"" of type '" "npstat::KSTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KSTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KSTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::KSTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_KSTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KSTest1D *arg1 = (npstat::KSTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KSTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KSTest1D_testStatistic" "', argument " "1"" of type '" "npstat::KSTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KSTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KSTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::KSTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_KSTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "KSTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__KSTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_KSTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__KSTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_KSTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KSTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::KSTest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::KSTest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_KSTest1D_hasAnalyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KSTest1D *arg1 = (npstat::KSTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KSTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KSTest1D_hasAnalyticPValue" "', argument " "1"" of type '" "npstat::KSTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KSTest1D * >(argp1);
{
try {
result = (bool)((npstat::KSTest1D const *)arg1)->hasAnalyticPValue();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_KSTest1D_analyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KSTest1D *arg1 = (npstat::KSTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "KSTest1D_analyticPValue", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KSTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KSTest1D_analyticPValue" "', argument " "1"" of type '" "npstat::KSTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KSTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KSTest1D_analyticPValue" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KSTest1D_analyticPValue" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::KSTest1D const *)arg1)->analyticPValue(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *KSTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__KSTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *KSTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_KuiperTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KuiperTest1D *arg1 = (npstat::KuiperTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KuiperTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KuiperTest1D" "', argument " "1"" of type '" "npstat::KuiperTest1D *""'");
}
arg1 = reinterpret_cast< npstat::KuiperTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_KuiperTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::KuiperTest1D *arg1 = (npstat::KuiperTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KuiperTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KuiperTest1D_shortName" "', argument " "1"" of type '" "npstat::KuiperTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KuiperTest1D * >(argp1);
{
try {
result = ((npstat::KuiperTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_KuiperTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KuiperTest1D *arg1 = (npstat::KuiperTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KuiperTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KuiperTest1D_testStatistic" "', argument " "1"" of type '" "npstat::KuiperTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KuiperTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KuiperTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::KuiperTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_KuiperTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::KuiperTest1D *arg1 = (npstat::KuiperTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__KuiperTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KuiperTest1D_testStatistic" "', argument " "1"" of type '" "npstat::KuiperTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::KuiperTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KuiperTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::KuiperTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_KuiperTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "KuiperTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__KuiperTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_KuiperTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__KuiperTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_KuiperTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KuiperTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::KuiperTest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::KuiperTest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *KuiperTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__KuiperTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ADTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ADTest1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ADTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ADTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::ADTest1D *)new npstat::ADTest1D((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ADTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ADTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ADTest1D *arg1 = (npstat::ADTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ADTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ADTest1D" "', argument " "1"" of type '" "npstat::ADTest1D *""'");
}
arg1 = reinterpret_cast< npstat::ADTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ADTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ADTest1D *arg1 = (npstat::ADTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ADTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ADTest1D_shortName" "', argument " "1"" of type '" "npstat::ADTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ADTest1D * >(argp1);
{
try {
result = ((npstat::ADTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ADTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ADTest1D *arg1 = (npstat::ADTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ADTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ADTest1D_testStatistic" "', argument " "1"" of type '" "npstat::ADTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ADTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ADTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ADTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ADTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ADTest1D *arg1 = (npstat::ADTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ADTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ADTest1D_testStatistic" "', argument " "1"" of type '" "npstat::ADTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ADTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ADTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ADTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ADTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ADTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ADTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ADTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ADTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ADTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ADTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ADTest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::ADTest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_ADTest1D_hasAnalyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ADTest1D *arg1 = (npstat::ADTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ADTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ADTest1D_hasAnalyticPValue" "', argument " "1"" of type '" "npstat::ADTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ADTest1D * >(argp1);
{
try {
result = (bool)((npstat::ADTest1D const *)arg1)->hasAnalyticPValue();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ADTest1D_analyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ADTest1D *arg1 = (npstat::ADTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "ADTest1D_analyticPValue", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ADTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ADTest1D_analyticPValue" "', argument " "1"" of type '" "npstat::ADTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ADTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ADTest1D_analyticPValue" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ADTest1D_analyticPValue" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::ADTest1D const *)arg1)->analyticPValue(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ADTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ADTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ADTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_CvMTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::CvMTest1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CvMTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CvMTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::CvMTest1D *)new npstat::CvMTest1D((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CvMTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_CvMTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CvMTest1D *arg1 = (npstat::CvMTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CvMTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CvMTest1D" "', argument " "1"" of type '" "npstat::CvMTest1D *""'");
}
arg1 = reinterpret_cast< npstat::CvMTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CvMTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CvMTest1D *arg1 = (npstat::CvMTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CvMTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMTest1D_shortName" "', argument " "1"" of type '" "npstat::CvMTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::CvMTest1D * >(argp1);
{
try {
result = ((npstat::CvMTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CvMTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::CvMTest1D *arg1 = (npstat::CvMTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CvMTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMTest1D_testStatistic" "', argument " "1"" of type '" "npstat::CvMTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::CvMTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvMTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::CvMTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_CvMTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::CvMTest1D *arg1 = (npstat::CvMTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CvMTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMTest1D_testStatistic" "', argument " "1"" of type '" "npstat::CvMTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::CvMTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CvMTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::CvMTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_CvMTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "CvMTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__CvMTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_CvMTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__CvMTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_CvMTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CvMTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::CvMTest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::CvMTest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_CvMTest1D_hasAnalyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CvMTest1D *arg1 = (npstat::CvMTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CvMTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMTest1D_hasAnalyticPValue" "', argument " "1"" of type '" "npstat::CvMTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::CvMTest1D * >(argp1);
{
try {
result = (bool)((npstat::CvMTest1D const *)arg1)->hasAnalyticPValue();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CvMTest1D_analyticPValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CvMTest1D *arg1 = (npstat::CvMTest1D *) 0 ;
double arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CvMTest1D_analyticPValue", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CvMTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CvMTest1D_analyticPValue" "', argument " "1"" of type '" "npstat::CvMTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::CvMTest1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CvMTest1D_analyticPValue" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CvMTest1D_analyticPValue" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::CvMTest1D const *)arg1)->analyticPValue(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CvMTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CvMTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *CvMTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ZhangZKTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ZhangZKTest1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ZhangZKTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ZhangZKTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::ZhangZKTest1D *)new npstat::ZhangZKTest1D((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ZhangZKTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ZhangZKTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ZhangZKTest1D *arg1 = (npstat::ZhangZKTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZKTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ZhangZKTest1D" "', argument " "1"" of type '" "npstat::ZhangZKTest1D *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZKTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZKTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ZhangZKTest1D *arg1 = (npstat::ZhangZKTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZKTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZKTest1D_shortName" "', argument " "1"" of type '" "npstat::ZhangZKTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZKTest1D * >(argp1);
{
try {
result = ((npstat::ZhangZKTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZKTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ZhangZKTest1D *arg1 = (npstat::ZhangZKTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZKTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZKTest1D_testStatistic" "', argument " "1"" of type '" "npstat::ZhangZKTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZKTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ZhangZKTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ZhangZKTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZKTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ZhangZKTest1D *arg1 = (npstat::ZhangZKTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZKTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZKTest1D_testStatistic" "', argument " "1"" of type '" "npstat::ZhangZKTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZKTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ZhangZKTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ZhangZKTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZKTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ZhangZKTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ZhangZKTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ZhangZKTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ZhangZKTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ZhangZKTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ZhangZKTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ZhangZKTest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::ZhangZKTest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *ZhangZKTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ZhangZKTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ZhangZKTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ZhangZATest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ZhangZATest1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ZhangZATest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ZhangZATest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::ZhangZATest1D *)new npstat::ZhangZATest1D((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ZhangZATest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ZhangZATest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ZhangZATest1D *arg1 = (npstat::ZhangZATest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZATest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ZhangZATest1D" "', argument " "1"" of type '" "npstat::ZhangZATest1D *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZATest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZATest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ZhangZATest1D *arg1 = (npstat::ZhangZATest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZATest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZATest1D_shortName" "', argument " "1"" of type '" "npstat::ZhangZATest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZATest1D * >(argp1);
{
try {
result = ((npstat::ZhangZATest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZATest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ZhangZATest1D *arg1 = (npstat::ZhangZATest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZATest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZATest1D_testStatistic" "', argument " "1"" of type '" "npstat::ZhangZATest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZATest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ZhangZATest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ZhangZATest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZATest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ZhangZATest1D *arg1 = (npstat::ZhangZATest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZATest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZATest1D_testStatistic" "', argument " "1"" of type '" "npstat::ZhangZATest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZATest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ZhangZATest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ZhangZATest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZATest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ZhangZATest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ZhangZATest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ZhangZATest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ZhangZATest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ZhangZATest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ZhangZATest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ZhangZATest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::ZhangZATest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *ZhangZATest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ZhangZATest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ZhangZATest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ZhangZCTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::ZhangZCTest1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ZhangZCTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ZhangZCTest1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
{
try {
result = (npstat::ZhangZCTest1D *)new npstat::ZhangZCTest1D((npstat::AbsDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ZhangZCTest1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ZhangZCTest1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ZhangZCTest1D *arg1 = (npstat::ZhangZCTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZCTest1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ZhangZCTest1D" "', argument " "1"" of type '" "npstat::ZhangZCTest1D *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZCTest1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZCTest1D_shortName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ZhangZCTest1D *arg1 = (npstat::ZhangZCTest1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::string result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZCTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZCTest1D_shortName" "', argument " "1"" of type '" "npstat::ZhangZCTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZCTest1D * >(argp1);
{
try {
result = ((npstat::ZhangZCTest1D const *)arg1)->shortName();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_std_basic_string_Sl_char_Sg_(static_cast< std::basic_string<char> >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZCTest1D_testStatistic__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ZhangZCTest1D *arg1 = (npstat::ZhangZCTest1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZCTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZCTest1D_testStatistic" "', argument " "1"" of type '" "npstat::ZhangZCTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZCTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ZhangZCTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ZhangZCTest1D const *)arg1)->testStatistic((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZCTest1D_testStatistic__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::ZhangZCTest1D *arg1 = (npstat::ZhangZCTest1D *) 0 ;
float *arg2 = (float *) 0 ;
unsigned long arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
bool val4 ;
int ecode4 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ZhangZCTest1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ZhangZCTest1D_testStatistic" "', argument " "1"" of type '" "npstat::ZhangZCTest1D const *""'");
}
arg1 = reinterpret_cast< npstat::ZhangZCTest1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_FLOAT,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (float*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
ecode4 = SWIG_AsVal_bool(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ZhangZCTest1D_testStatistic" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (double)((npstat::ZhangZCTest1D const *)arg1)->testStatistic((float const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_ZhangZCTest1D_testStatistic(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "ZhangZCTest1D_testStatistic", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ZhangZCTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ZhangZCTest1D_testStatistic__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__ZhangZCTest1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_ZhangZCTest1D_testStatistic__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ZhangZCTest1D_testStatistic'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ZhangZCTest1D::testStatistic(double const *,unsigned long const,bool const) const\n"
" npstat::ZhangZCTest1D::testStatistic(float const *,unsigned long const,bool const) const\n");
return 0;
}
SWIGINTERN PyObject *ZhangZCTest1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ZhangZCTest1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ZhangZCTest1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DSymbetaKernel__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
npstat::BoundaryHandling *arg5 = 0 ;
bool arg6 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
npstat::LOrPE1DSymbetaKernel *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "5"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "5"" of type '" "npstat::BoundaryHandling const &""'");
}
arg5 = reinterpret_cast< npstat::BoundaryHandling * >(argp5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (npstat::LOrPE1DSymbetaKernel *)new npstat::LOrPE1DSymbetaKernel(arg1,arg2,arg3,arg4,(npstat::BoundaryHandling const &)*arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DSymbetaKernel__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
npstat::BoundaryHandling *arg5 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
npstat::LOrPE1DSymbetaKernel *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "5"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "5"" of type '" "npstat::BoundaryHandling const &""'");
}
arg5 = reinterpret_cast< npstat::BoundaryHandling * >(argp5);
{
try {
result = (npstat::LOrPE1DSymbetaKernel *)new npstat::LOrPE1DSymbetaKernel(arg1,arg2,arg3,arg4,(npstat::BoundaryHandling const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DSymbetaKernel__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::LOrPE1DSymbetaKernel *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_LOrPE1DSymbetaKernel" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (npstat::LOrPE1DSymbetaKernel *)new npstat::LOrPE1DSymbetaKernel((npstat::LOrPE1DSymbetaKernel const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LOrPE1DSymbetaKernel(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_LOrPE1DSymbetaKernel", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LOrPE1DSymbetaKernel__SWIG_2(self, argc, argv);
}
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_LOrPE1DSymbetaKernel__SWIG_1(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_LOrPE1DSymbetaKernel__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_LOrPE1DSymbetaKernel'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DSymbetaKernel::LOrPE1DSymbetaKernel(int,double,double,double,npstat::BoundaryHandling const &,bool)\n"
" npstat::LOrPE1DSymbetaKernel::LOrPE1DSymbetaKernel(int,double,double,double,npstat::BoundaryHandling const &)\n"
" npstat::LOrPE1DSymbetaKernel::LOrPE1DSymbetaKernel(npstat::LOrPE1DSymbetaKernel const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_LOrPE1DSymbetaKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LOrPE1DSymbetaKernel" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_filterDegree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_filterDegree" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->filterDegree();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_leftBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_leftBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->leftBoundary();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_rightBoundary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_rightBoundary" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->rightBoundary();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_isMemoizing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_isMemoizing" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DSymbetaKernel const *)arg1)->isMemoizing();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_memoize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel_memoize", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_memoize" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_memoize" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->memoize(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_clearMemoizedInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_clearMemoizedInfo" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
(arg1)->clearMemoizedInfo();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_isBoundaryCorrectionNeeded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel_isBoundaryCorrectionNeeded", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_isBoundaryCorrectionNeeded" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_isBoundaryCorrectionNeeded" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LOrPE1DSymbetaKernel_isBoundaryCorrectionNeeded" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (bool)((npstat::LOrPE1DSymbetaKernel const *)arg1)->isBoundaryCorrectionNeeded(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_setNormFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel_setNormFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_setNormFactor" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_setNormFactor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setNormFactor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_normFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_normFactor" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->normFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_getLastKernelAt0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_getLastKernelAt0" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->getLastKernelAt0();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_usedBoundaryCorrection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_usedBoundaryCorrection" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
try {
result = (bool)((npstat::LOrPE1DSymbetaKernel const *)arg1)->usedBoundaryCorrection();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
npstat::LOrPE1DSymbetaKernel *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel___eq__" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LOrPE1DSymbetaKernel___eq__" "', argument " "2"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSymbetaKernel___eq__" "', argument " "2"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp2);
{
try {
result = (bool)((npstat::LOrPE1DSymbetaKernel const *)arg1)->operator ==((npstat::LOrPE1DSymbetaKernel const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
npstat::LOrPE1DSymbetaKernel *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel___ne__" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LOrPE1DSymbetaKernel___ne__" "', argument " "2"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSymbetaKernel___ne__" "', argument " "2"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg2 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp2);
{
try {
result = (bool)((npstat::LOrPE1DSymbetaKernel const *)arg1)->operator !=((npstat::LOrPE1DSymbetaKernel const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned long arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
bool val6 ;
int ecode6 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
ecode6 = SWIG_AsVal_bool(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->lorpe_2(arg2,arg3,(double const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned long arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->lorpe_2(arg2,arg3,(double const *)arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
double arg3 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg4 = 0 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int res4 = SWIG_OLDOBJ ;
bool val5 ;
int ecode5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *ptr = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *)0;
res4 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "4"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "4"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg4 = ptr;
}
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->lorpe_2(arg2,arg3,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res4)) delete arg4;
return resultobj;
fail:
if (SWIG_IsNewObj(res4)) delete arg4;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
double arg3 ;
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int res4 = SWIG_OLDOBJ ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *ptr = (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > *)0;
res4 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "4"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LOrPE1DSymbetaKernel_lorpe" "', argument " "4"" of type '" "std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &""'");
}
arg4 = ptr;
}
{
try {
result = (double)((npstat::LOrPE1DSymbetaKernel const *)arg1)->lorpe_2(arg2,arg3,(std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
if (SWIG_IsNewObj(res4)) delete arg4;
return resultobj;
fail:
if (SWIG_IsNewObj(res4)) delete arg4;
return NULL;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_lorpe(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel_lorpe", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[3], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
if (argc <= 4) {
return _wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_1(self, argc, argv);
}
return _wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[3], (std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_2(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_LOrPE1DSymbetaKernel_lorpe__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LOrPE1DSymbetaKernel_lorpe'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::LOrPE1DSymbetaKernel::lorpe_2(double,double,double const *,unsigned long,bool) const\n"
" npstat::LOrPE1DSymbetaKernel::lorpe_2(double,double,double const *,unsigned long) const\n"
" npstat::LOrPE1DSymbetaKernel::lorpe_2(double,double,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &,bool) const\n"
" npstat::LOrPE1DSymbetaKernel::lorpe_2(double,double,std::vector< std::pair< double,double >,std::allocator< std::pair< double,double > > > const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_LOrPE1DSymbetaKernel_buildBoundaryPoly(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = (npstat::LOrPE1DSymbetaKernel *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::AbsClassicalOrthoPoly1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LOrPE1DSymbetaKernel_buildBoundaryPoly", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LOrPE1DSymbetaKernel_buildBoundaryPoly" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LOrPE1DSymbetaKernel_buildBoundaryPoly" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LOrPE1DSymbetaKernel_buildBoundaryPoly" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::AbsClassicalOrthoPoly1D *)((npstat::LOrPE1DSymbetaKernel const *)arg1)->buildBoundaryPoly_2(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsClassicalOrthoPoly1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LOrPE1DSymbetaKernel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LOrPE1DSymbetaKernel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleFcnLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg2 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleFcnLOrPE1DFunctorHelper", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "2"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "2"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleFcnLOrPE1DFunctorHelper" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > >((npstat::LOrPE1DSymbetaKernel const &)*arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleFcnLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleFcnLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleFcnLOrPE1DFunctorHelper___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleFcnLOrPE1DFunctorHelper___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleFcnLOrPE1DFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleFcnLOrPE1DFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DFunctorHelper< double,npstat::Functor1RefHelper< double,double > > const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleFcnLOrPE1DFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleFcnLOrPE1DFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePairFcnLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
SwigValueWrapper< npstat::Functor1RefHelper< double,double > > arg2 ;
std::pair< double,double > *arg3 = (std::pair< double,double > *) 0 ;
unsigned long arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoublePairFcnLOrPE1DFunctorHelper", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
{
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Functor1RefHelperT_double_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "2"" of type '" "npstat::Functor1RefHelper< double,double >""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "2"" of type '" "npstat::Functor1RefHelper< double,double >""'");
} else {
npstat::Functor1RefHelper< double,double > * temp = reinterpret_cast< npstat::Functor1RefHelper< double,double > * >(argp2);
arg2 = *temp;
if (SWIG_IsNewObj(res2)) delete temp;
}
}
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__pairT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "3"" of type '" "std::pair< double,double > const *""'");
}
arg3 = reinterpret_cast< std::pair< double,double > * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *)new npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > >((npstat::LOrPE1DSymbetaKernel const &)*arg1,arg2,(std::pair< double,double > const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePairFcnLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePairFcnLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairFcnLOrPE1DFunctorHelper___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *arg1 = (npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePairFcnLOrPE1DFunctorHelper___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairFcnLOrPE1DFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairFcnLOrPE1DFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DFunctorHelper< std::pair< double,double >,npstat::Functor1RefHelper< double,double > > const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleDoublePairFcnLOrPE1DFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_npstat__Functor1RefHelperT_double_double_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePairFcnLOrPE1DFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoubleLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
double arg2 ;
double *arg3 = (double *) 0 ;
unsigned long arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
npstat::LOrPE1DFunctorHelper< double,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoubleLOrPE1DFunctorHelper", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "3"" of type '" "double const *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::LOrPE1DFunctorHelper< double,double > *)new npstat::LOrPE1DFunctorHelper< double,double >((npstat::LOrPE1DSymbetaKernel const &)*arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoubleLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< double,double > *arg1 = (npstat::LOrPE1DFunctorHelper< double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoubleLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< double,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< double,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoubleLOrPE1DFunctorHelper___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< double,double > *arg1 = (npstat::LOrPE1DFunctorHelper< double,double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoubleLOrPE1DFunctorHelper___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoubleLOrPE1DFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< double,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoubleLOrPE1DFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DFunctorHelper< double,double > const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleDoubleLOrPE1DFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoubleLOrPE1DFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DoubleDoublePairDoubleLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DSymbetaKernel *arg1 = 0 ;
double arg2 ;
std::pair< double,double > *arg3 = (std::pair< double,double > *) 0 ;
unsigned long arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
PyObject *swig_obj[5] ;
npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LOrPE1DSymbetaKernel, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DSymbetaKernel const &""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DSymbetaKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_std__pairT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "3"" of type '" "std::pair< double,double > const *""'");
}
arg3 = reinterpret_cast< std::pair< double,double > * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *)new npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double >((npstat::LOrPE1DSymbetaKernel const &)*arg1,arg2,(std::pair< double,double > const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DoubleDoublePairDoubleLOrPE1DFunctorHelper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *arg1 = (npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleDoublePairDoubleLOrPE1DFunctorHelper" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleDoublePairDoubleLOrPE1DFunctorHelper___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *arg1 = (npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > *) 0 ;
double *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double temp2 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleDoublePairDoubleLOrPE1DFunctorHelper___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleDoublePairDoubleLOrPE1DFunctorHelper___call__" "', argument " "1"" of type '" "npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > const *""'");
}
arg1 = reinterpret_cast< npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DoubleDoublePairDoubleLOrPE1DFunctorHelper___call__" "', argument " "2"" of type '" "double""'");
}
temp2 = static_cast< double >(val2);
arg2 = &temp2;
{
try {
result = (double)((npstat::LOrPE1DFunctorHelper< std::pair< double,double >,double > const *)arg1)->operator ()((double const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleDoublePairDoubleLOrPE1DFunctorHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LOrPE1DFunctorHelperT_std__pairT_double_double_t_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleDoublePairDoubleLOrPE1DFunctorHelper_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< unsigned char,double > *arg1 = (npstat::BandwidthCVLeastSquares1D< unsigned char,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_unsigned_char_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharBandwidthCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquares1D< unsigned char,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquares1D< unsigned char,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< unsigned char,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharBandwidthCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquares1D< unsigned char,double > *)new npstat::BandwidthCVLeastSquares1D< unsigned char,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_unsigned_char_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharBandwidthCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_unsigned_char_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< int,double > *arg1 = (npstat::BandwidthCVLeastSquares1D< int,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_int_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntBandwidthCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquares1D< int,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquares1D< int,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< int,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntBandwidthCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquares1D< int,double > *)new npstat::BandwidthCVLeastSquares1D< int,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_int_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntBandwidthCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_int_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< long,double > *arg1 = (npstat::BandwidthCVLeastSquares1D< long,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_long_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongBandwidthCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquares1D< long,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquares1D< long,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< long,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongBandwidthCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquares1D< long,double > *)new npstat::BandwidthCVLeastSquares1D< long,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_long_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongBandwidthCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_long_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< float,double > *arg1 = (npstat::BandwidthCVLeastSquares1D< float,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_float_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatBandwidthCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquares1D< float,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquares1D< float,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< float,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatBandwidthCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquares1D< float,double > *)new npstat::BandwidthCVLeastSquares1D< float,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_float_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatBandwidthCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_float_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< double,double > *arg1 = (npstat::BandwidthCVLeastSquares1D< double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_double_double_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleBandwidthCVLeastSquares1D" "', argument " "1"" of type '" "npstat::BandwidthCVLeastSquares1D< double,double > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthCVLeastSquares1D< double,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthCVLeastSquares1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthCVLeastSquares1D< double,double > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthCVLeastSquares1D", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthCVLeastSquares1D< double,double > *)new npstat::BandwidthCVLeastSquares1D< double,double >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_double_double_double_double_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleBandwidthCVLeastSquares1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthCVLeastSquares1DT_double_double_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthCVLeastSquares1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_StatAccumulatorArr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::StatAccumulatorArr *)new npstat::StatAccumulatorArr();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_StatAccumulatorArr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned long arg1 ;
unsigned long val1 ;
int ecode1 = 0 ;
npstat::StatAccumulatorArr *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_long(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_StatAccumulatorArr" "', argument " "1"" of type '" "unsigned long""'");
}
arg1 = static_cast< unsigned long >(val1);
{
try {
result = (npstat::StatAccumulatorArr *)new npstat::StatAccumulatorArr(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_StatAccumulatorArr(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_StatAccumulatorArr", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_StatAccumulatorArr__SWIG_0(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_long(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_StatAccumulatorArr__SWIG_1(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_StatAccumulatorArr'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StatAccumulatorArr::StatAccumulatorArr()\n"
" npstat::StatAccumulatorArr::StatAccumulatorArr(unsigned long const)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_dim(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_dim" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
{
try {
result = (unsigned long)((npstat::StatAccumulatorArr const *)arg1)->dim();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned long result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_count" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
{
try {
result = (unsigned long)((npstat::StatAccumulatorArr const *)arg1)->count();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_min(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_min", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_min" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr_min" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::StatAccumulatorArr const *)arg1)->min(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_max(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_max", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_max" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr_max" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::StatAccumulatorArr const *)arg1)->max(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_mean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_mean", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_mean" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr_mean" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::StatAccumulatorArr const *)arg1)->mean(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_stdev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_stdev", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_stdev" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr_stdev" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::StatAccumulatorArr const *)arg1)->stdev(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_meanUncertainty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_meanUncertainty", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_meanUncertainty" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr_meanUncertainty" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (double)((npstat::StatAccumulatorArr const *)arg1)->meanUncertainty(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_accumulate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
npstat::StatAccumulatorArr *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_accumulate", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_accumulate" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_accumulate" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr_accumulate" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp2);
{
try {
(arg1)->accumulate((npstat::StatAccumulatorArr const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___iadd____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
npstat::StatAccumulatorArr *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::StatAccumulatorArr *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___iadd__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr___iadd__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr___iadd__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp2);
{
try {
result = (npstat::StatAccumulatorArr *) &(arg1)->operator +=((npstat::StatAccumulatorArr const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_reset" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
{
try {
(arg1)->reset();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
npstat::StatAccumulatorArr *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___add__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___add__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr___add__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr___add__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp2);
{
try {
result = ((npstat::StatAccumulatorArr const *)arg1)->operator +((npstat::StatAccumulatorArr const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorArr(static_cast< const npstat::StatAccumulatorArr& >(result))), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
npstat::StatAccumulatorArr *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___eq__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr___eq__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr___eq__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp2);
{
try {
result = (bool)((npstat::StatAccumulatorArr const *)arg1)->operator ==((npstat::StatAccumulatorArr const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
npstat::StatAccumulatorArr *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___ne__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr___ne__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr___ne__" "', argument " "2"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg2 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp2);
{
try {
result = (bool)((npstat::StatAccumulatorArr const *)arg1)->operator !=((npstat::StatAccumulatorArr const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_classId" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
{
try {
result = ((npstat::StatAccumulatorArr const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_write" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::StatAccumulatorArr const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::StatAccumulatorArr::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::StatAccumulatorArr::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
npstat::StatAccumulatorArr *arg3 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_restore" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr_restore" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "StatAccumulatorArr_restore" "', argument " "3"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg3 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp3);
{
try {
npstat::StatAccumulatorArr::restore((gs::ClassId const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___mul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___mul__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___mul__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr___mul__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::StatAccumulatorArr const *)arg1)->mul2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorArr(static_cast< const npstat::StatAccumulatorArr& >(result))), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___div__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr result;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___div__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___div__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr___div__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = ((npstat::StatAccumulatorArr const *)arg1)->div2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorArr(static_cast< const npstat::StatAccumulatorArr& >(result))), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___imul__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___imul__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___imul__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr___imul__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::StatAccumulatorArr *) &(arg1)->imul2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___idiv__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___idiv__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___idiv__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatAccumulatorArr___idiv__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::StatAccumulatorArr *) &(arg1)->idiv2(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_minArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_minArray", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_minArray" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_minArray" "', argument " "2"" of type '" "double *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatAccumulatorArr_minArray" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
((npstat::StatAccumulatorArr const *)arg1)->minArray(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_maxArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_maxArray", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_maxArray" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_maxArray" "', argument " "2"" of type '" "double *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatAccumulatorArr_maxArray" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
((npstat::StatAccumulatorArr const *)arg1)->maxArray(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_meanArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_meanArray", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_meanArray" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_meanArray" "', argument " "2"" of type '" "double *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatAccumulatorArr_meanArray" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
((npstat::StatAccumulatorArr const *)arg1)->meanArray(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_stdevArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_stdevArray", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_stdevArray" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_stdevArray" "', argument " "2"" of type '" "double *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatAccumulatorArr_stdevArray" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
((npstat::StatAccumulatorArr const *)arg1)->stdevArray(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr_meanUncertaintyArray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
double *arg2 = (double *) 0 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "StatAccumulatorArr_meanUncertaintyArray", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr_meanUncertaintyArray" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr_meanUncertaintyArray" "', argument " "2"" of type '" "double *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatAccumulatorArr_meanUncertaintyArray" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
((npstat::StatAccumulatorArr const *)arg1)->meanUncertaintyArray(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___iadd____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
std::vector< double,std::allocator< double > > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
npstat::StatAccumulatorArr *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatAccumulatorArr___iadd__" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
{
std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0;
res2 = swig::asptr(swig_obj[1], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatAccumulatorArr___iadd__" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StatAccumulatorArr___iadd__" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'");
}
arg2 = ptr;
}
{
try {
result = (npstat::StatAccumulatorArr *) &(arg1)->operator +=((std::vector< double,std::allocator< double > > const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
if (SWIG_IsNewObj(res2)) delete arg2;
return resultobj;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return NULL;
}
SWIGINTERN PyObject *_wrap_StatAccumulatorArr___iadd__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "StatAccumulatorArr___iadd__", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StatAccumulatorArr, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_StatAccumulatorArr___iadd____SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__StatAccumulatorArr, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_StatAccumulatorArr___iadd____SWIG_2(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'StatAccumulatorArr___iadd__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::StatAccumulatorArr::operator +=(npstat::StatAccumulatorArr const &)\n"
" npstat::StatAccumulatorArr::operator +=(std::vector< double,std::allocator< double > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_StatAccumulatorArr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_StatAccumulatorArr" "', argument " "1"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *StatAccumulatorArr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *StatAccumulatorArr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_StatAccumulatorArr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::StatAccumulatorArr > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_StatAccumulatorArr", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_StatAccumulatorArr" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_StatAccumulatorArr" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_StatAccumulatorArr" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_StatAccumulatorArr" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::StatAccumulatorArr > *)new gs::ArchiveRecord< npstat::StatAccumulatorArr >((npstat::StatAccumulatorArr const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__StatAccumulatorArr_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_StatAccumulatorArr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::StatAccumulatorArr > *arg1 = (gs::ArchiveRecord< npstat::StatAccumulatorArr > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__StatAccumulatorArr_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_StatAccumulatorArr" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::StatAccumulatorArr > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::StatAccumulatorArr > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_StatAccumulatorArr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__StatAccumulatorArr_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_StatAccumulatorArr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_115(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::StatAccumulatorArr *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::StatAccumulatorArr > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::StatAccumulatorArr const &""'");
}
arg1 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::StatAccumulatorArr >((npstat::StatAccumulatorArr const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::StatAccumulatorArr >(static_cast< const gs::ArchiveRecord< npstat::StatAccumulatorArr >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__StatAccumulatorArr_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_StatAccumulatorArr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::StatAccumulatorArr > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::StatAccumulatorArr > *)new gs::Reference< npstat::StatAccumulatorArr >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_StatAccumulatorArr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::StatAccumulatorArr > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::StatAccumulatorArr > *)new gs::Reference< npstat::StatAccumulatorArr >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_StatAccumulatorArr__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::StatAccumulatorArr > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorArr" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_StatAccumulatorArr" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_StatAccumulatorArr" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::StatAccumulatorArr > *)new gs::Reference< npstat::StatAccumulatorArr >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_StatAccumulatorArr(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_StatAccumulatorArr", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_StatAccumulatorArr__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_StatAccumulatorArr__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_StatAccumulatorArr__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_StatAccumulatorArr'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::StatAccumulatorArr >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::StatAccumulatorArr >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::StatAccumulatorArr >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_StatAccumulatorArr_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorArr > *arg1 = (gs::Reference< npstat::StatAccumulatorArr > *) 0 ;
unsigned long arg2 ;
npstat::StatAccumulatorArr *arg3 = (npstat::StatAccumulatorArr *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_StatAccumulatorArr_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_StatAccumulatorArr_restore" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorArr > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorArr > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_StatAccumulatorArr_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__StatAccumulatorArr, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_StatAccumulatorArr_restore" "', argument " "3"" of type '" "npstat::StatAccumulatorArr *""'");
}
arg3 = reinterpret_cast< npstat::StatAccumulatorArr * >(argp3);
{
try {
((gs::Reference< npstat::StatAccumulatorArr > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_StatAccumulatorArr_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorArr > *arg1 = (gs::Reference< npstat::StatAccumulatorArr > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_StatAccumulatorArr_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_StatAccumulatorArr_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorArr > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorArr > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_StatAccumulatorArr_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::StatAccumulatorArr *)gs_Reference_Sl_npstat_StatAccumulatorArr_Sg__retrieve((gs::Reference< npstat::StatAccumulatorArr > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_StatAccumulatorArr_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorArr > *arg1 = (gs::Reference< npstat::StatAccumulatorArr > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::StatAccumulatorArr result;
if (!SWIG_Python_UnpackTuple(args, "Ref_StatAccumulatorArr_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_StatAccumulatorArr_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorArr > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorArr > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_StatAccumulatorArr_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_StatAccumulatorArr_Sg__getValue((gs::Reference< npstat::StatAccumulatorArr > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::StatAccumulatorArr(static_cast< const npstat::StatAccumulatorArr& >(result))), SWIGTYPE_p_npstat__StatAccumulatorArr, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_StatAccumulatorArr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::StatAccumulatorArr > *arg1 = (gs::Reference< npstat::StatAccumulatorArr > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_StatAccumulatorArr" "', argument " "1"" of type '" "gs::Reference< npstat::StatAccumulatorArr > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::StatAccumulatorArr > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_StatAccumulatorArr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__StatAccumulatorArr_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_StatAccumulatorArr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsInterpolatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsInterpolatedDistribution1D" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsInterpolatedDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_clone" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
{
try {
result = (npstat::AbsInterpolatedDistribution1D *)((npstat::AbsInterpolatedDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolatedDistribution1D_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_add" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsInterpolatedDistribution1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsInterpolatedDistribution1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsInterpolatedDistribution1D_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->add((npstat::AbsDistribution1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
unsigned int arg2 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolatedDistribution1D_replace", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_replace" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsInterpolatedDistribution1D_replace" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AbsInterpolatedDistribution1D_replace" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsInterpolatedDistribution1D_replace" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsInterpolatedDistribution1D_replace" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->replace(arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_setWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolatedDistribution1D_setWeight", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_setWeight" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsInterpolatedDistribution1D_setWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsInterpolatedDistribution1D_setWeight" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setWeight(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_clear" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_size" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
{
try {
result = (unsigned int)((npstat::AbsInterpolatedDistribution1D const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_expectedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_expectedSize" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
{
try {
result = (unsigned int)((npstat::AbsInterpolatedDistribution1D const *)arg1)->expectedSize();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsInterpolatedDistribution1D_normalizeAutomatically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsInterpolatedDistribution1D *arg1 = (npstat::AbsInterpolatedDistribution1D *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsInterpolatedDistribution1D_normalizeAutomatically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsInterpolatedDistribution1D_normalizeAutomatically" "', argument " "1"" of type '" "npstat::AbsInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsInterpolatedDistribution1D_normalizeAutomatically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->normalizeAutomatically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *AbsInterpolatedDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsInterpolatedDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_VerticallyInterpolatedDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int val1 ;
int ecode1 = 0 ;
npstat::VerticallyInterpolatedDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VerticallyInterpolatedDistribution1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
{
try {
result = (npstat::VerticallyInterpolatedDistribution1D *)new npstat::VerticallyInterpolatedDistribution1D(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_VerticallyInterpolatedDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::VerticallyInterpolatedDistribution1D *)new npstat::VerticallyInterpolatedDistribution1D();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_VerticallyInterpolatedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_VerticallyInterpolatedDistribution1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_VerticallyInterpolatedDistribution1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_VerticallyInterpolatedDistribution1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VerticallyInterpolatedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::VerticallyInterpolatedDistribution1D::VerticallyInterpolatedDistribution1D(unsigned int)\n"
" npstat::VerticallyInterpolatedDistribution1D::VerticallyInterpolatedDistribution1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_VerticallyInterpolatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VerticallyInterpolatedDistribution1D" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::VerticallyInterpolatedDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_clone" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
{
try {
result = (npstat::VerticallyInterpolatedDistribution1D *)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_add" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VerticallyInterpolatedDistribution1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VerticallyInterpolatedDistribution1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VerticallyInterpolatedDistribution1D_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->add((npstat::AbsDistribution1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
unsigned int arg2 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_replace", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_replace" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_replace" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VerticallyInterpolatedDistribution1D_replace" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VerticallyInterpolatedDistribution1D_replace" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VerticallyInterpolatedDistribution1D_replace" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->replace(arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_setWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_setWeight", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_setWeight" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_setWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VerticallyInterpolatedDistribution1D_setWeight" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setWeight(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_clear" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_normalizeAutomatically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_normalizeAutomatically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_normalizeAutomatically" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_normalizeAutomatically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->normalizeAutomatically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_size" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
{
try {
result = (unsigned int)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_expectedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_expectedSize" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
{
try {
result = (unsigned int)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->expectedSize();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_density" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->density(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_cdf" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->cdf(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->exceedance(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_quantile" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VerticallyInterpolatedDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->quantile(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::VerticallyInterpolatedDistribution1D *arg1 = (npstat::VerticallyInterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VerticallyInterpolatedDistribution1D_classId" "', argument " "1"" of type '" "npstat::VerticallyInterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::VerticallyInterpolatedDistribution1D * >(argp1);
{
try {
result = ((npstat::VerticallyInterpolatedDistribution1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::VerticallyInterpolatedDistribution1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_VerticallyInterpolatedDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "VerticallyInterpolatedDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::VerticallyInterpolatedDistribution1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *VerticallyInterpolatedDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__VerticallyInterpolatedDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *VerticallyInterpolatedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsUnfold1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsUnfold1D" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_responseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_responseMatrix" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (npstat::Matrix< double > *) &((npstat::AbsUnfold1D const *)arg1)->responseMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_transposedResponseMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_transposedResponseMatrix" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (npstat::Matrix< double > *) &((npstat::AbsUnfold1D const *)arg1)->transposedResponseMatrix();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_efficiency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< double,std::allocator< double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_efficiency" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::AbsUnfold1D const *)arg1)->efficiency();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_smoothingNDoF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::pair< double,double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_smoothingNDoF" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = ((npstat::AbsUnfold1D const *)arg1)->smoothingNDoF();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_responseNDoF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::pair< double,double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_responseNDoF" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = ((npstat::AbsUnfold1D const *)arg1)->responseNDoF();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_smoothedResponseNDoF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::pair< double,double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_smoothedResponseNDoF" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = ((npstat::AbsUnfold1D const *)arg1)->smoothedResponseNDoF();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_modelNDoF(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::pair< double,double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_modelNDoF" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (arg1)->modelNDoF();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::pair< double,double > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_setInitialApproximation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfold1D_setInitialApproximation", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_setInitialApproximation" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
(arg1)->setInitialApproximation((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_clearInitialApproximation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_clearInitialApproximation" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
(arg1)->clearInitialApproximation();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_getInitialApproximation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< double,std::allocator< double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_getInitialApproximation" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::AbsUnfold1D const *)arg1)->getInitialApproximation();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_setFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
npstat::LocalPolyFilter1D *arg2 = (npstat::LocalPolyFilter1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfold1D_setFilter", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_setFilter" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsUnfold1D_setFilter" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const *""'");
}
arg2 = reinterpret_cast< npstat::LocalPolyFilter1D * >(argp2);
{
try {
(arg1)->setFilter((npstat::LocalPolyFilter1D const *)arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_useConvolutions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfold1D_useConvolutions", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_useConvolutions" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsUnfold1D_useConvolutions" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useConvolutions(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_usingConvolutions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_usingConvolutions" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (bool)((npstat::AbsUnfold1D const *)arg1)->usingConvolutions();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_observationCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
bool arg3 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
bool val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[2] ;
npstat::Matrix< double > result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfold1D_observationCovariance", 2, 2, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_bool(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsUnfold1D_observationCovariance" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = npstat::AbsUnfold1D::observationCovariance((double const *)arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_getFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LocalPolyFilter1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_getFilter" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
try {
result = (npstat::LocalPolyFilter1D *)((npstat::AbsUnfold1D const *)arg1)->getFilter2();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_probDelta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfold1D_probDelta", 2, 2, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[1] = {
-1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 1) ||
!require_size(array3, size, 1)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
}
{
try {
result = (double)npstat::AbsUnfold1D::probDelta2((double const *)arg1,arg2,(double const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_unfold__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
npstat::Matrix< double > *arg4 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_unfold" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsUnfold1D_unfold" "', argument " "4"" of type '" "npstat::Matrix< double > *""'");
}
arg4 = reinterpret_cast< npstat::Matrix< double > * >(argp4);
{
try {
result = (PyObject *)(arg1)->unfold2((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_unfold__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
npstat::Matrix< double > *arg4 = 0 ;
npstat::Matrix< double > *arg5 = (npstat::Matrix< double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_unfold" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsUnfold1D_unfold" "', argument " "4"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfold1D_unfold" "', argument " "4"" of type '" "npstat::Matrix< double > const &""'");
}
arg4 = reinterpret_cast< npstat::Matrix< double > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5,SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AbsUnfold1D_unfold" "', argument " "5"" of type '" "npstat::Matrix< double > *""'");
}
arg5 = reinterpret_cast< npstat::Matrix< double > * >(argp5);
{
try {
result = (PyObject *)(arg1)->unfold2((double const *)arg2,arg3,(npstat::Matrix< double > const &)*arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_unfold(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfold1D_unfold", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfold1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfold1D_unfold__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfold1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfold1D_unfold__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfold1D_unfold'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfold1D::unfold2(double const *,unsigned int,npstat::Matrix< double > *)\n"
" npstat::AbsUnfold1D::unfold2(double const *,unsigned int,npstat::Matrix< double > const &,npstat::Matrix< double > *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_unfoldNoCov__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_unfoldNoCov" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (PyObject *)(arg1)->unfoldNoCov((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_unfoldNoCov__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
npstat::Matrix< double > *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_unfoldNoCov" "', argument " "1"" of type '" "npstat::AbsUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AbsUnfold1D_unfoldNoCov" "', argument " "4"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsUnfold1D_unfoldNoCov" "', argument " "4"" of type '" "npstat::Matrix< double > const &""'");
}
arg4 = reinterpret_cast< npstat::Matrix< double > * >(argp4);
{
try {
result = (PyObject *)(arg1)->unfoldNoCov((double const *)arg2,arg3,(npstat::Matrix< double > const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_unfoldNoCov(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsUnfold1D_unfoldNoCov", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfold1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_AbsUnfold1D_unfoldNoCov__SWIG_0(self, argc, argv);
}
return _wrap_AbsUnfold1D_unfoldNoCov__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsUnfold1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_AbsUnfold1D_unfoldNoCov__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsUnfold1D_unfoldNoCov'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsUnfold1D::unfoldNoCov(double const *,unsigned int)\n"
" npstat::AbsUnfold1D::unfoldNoCov(double const *,unsigned int,npstat::Matrix< double > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsUnfold1D_fold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsUnfold1D *arg1 = (npstat::AbsUnfold1D *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
PyObject *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "AbsUnfold1D_fold", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsUnfold1D_fold" "', argument " "1"" of type '" "npstat::AbsUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::AbsUnfold1D * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (PyObject *)((npstat::AbsUnfold1D const *)arg1)->fold((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = result;
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *AbsUnfold1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsUnfold1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfold1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
npstat::LocalPolyFilter1D *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
bool arg5 ;
double arg6 ;
unsigned int arg7 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
unsigned int val7 ;
int ecode7 = 0 ;
npstat::SmoothedEMUnfold1D *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalPolyFilter1D * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfold1D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfold1D" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SmoothedEMUnfold1D" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SmoothedEMUnfold1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SmoothedEMUnfold1D" "', argument " "7"" of type '" "unsigned int""'");
}
arg7 = static_cast< unsigned int >(val7);
{
try {
result = (npstat::SmoothedEMUnfold1D *)new npstat::SmoothedEMUnfold1D((npstat::Matrix< double > const &)*arg1,(npstat::LocalPolyFilter1D const &)*arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfold1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
npstat::LocalPolyFilter1D *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
bool arg5 ;
double arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
npstat::SmoothedEMUnfold1D *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalPolyFilter1D * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfold1D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfold1D" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SmoothedEMUnfold1D" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SmoothedEMUnfold1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (npstat::SmoothedEMUnfold1D *)new npstat::SmoothedEMUnfold1D((npstat::Matrix< double > const &)*arg1,(npstat::LocalPolyFilter1D const &)*arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfold1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
npstat::LocalPolyFilter1D *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
bool arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
bool val5 ;
int ecode5 = 0 ;
npstat::SmoothedEMUnfold1D *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalPolyFilter1D * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfold1D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfold1D" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SmoothedEMUnfold1D" "', argument " "5"" of type '" "bool""'");
}
arg5 = static_cast< bool >(val5);
{
try {
result = (npstat::SmoothedEMUnfold1D *)new npstat::SmoothedEMUnfold1D((npstat::Matrix< double > const &)*arg1,(npstat::LocalPolyFilter1D const &)*arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfold1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
npstat::LocalPolyFilter1D *arg2 = 0 ;
bool arg3 ;
bool arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
bool val4 ;
int ecode4 = 0 ;
npstat::SmoothedEMUnfold1D *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalPolyFilter1D * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfold1D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SmoothedEMUnfold1D" "', argument " "4"" of type '" "bool""'");
}
arg4 = static_cast< bool >(val4);
{
try {
result = (npstat::SmoothedEMUnfold1D *)new npstat::SmoothedEMUnfold1D((npstat::Matrix< double > const &)*arg1,(npstat::LocalPolyFilter1D const &)*arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfold1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Matrix< double > *arg1 = 0 ;
npstat::LocalPolyFilter1D *arg2 = 0 ;
bool arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool val3 ;
int ecode3 = 0 ;
npstat::SmoothedEMUnfold1D *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::Matrix< double > const &""'");
}
arg1 = reinterpret_cast< npstat::Matrix< double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__LocalPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SmoothedEMUnfold1D" "', argument " "2"" of type '" "npstat::LocalPolyFilter1D const &""'");
}
arg2 = reinterpret_cast< npstat::LocalPolyFilter1D * >(argp2);
ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SmoothedEMUnfold1D" "', argument " "3"" of type '" "bool""'");
}
arg3 = static_cast< bool >(val3);
{
try {
result = (npstat::SmoothedEMUnfold1D *)new npstat::SmoothedEMUnfold1D((npstat::Matrix< double > const &)*arg1,(npstat::LocalPolyFilter1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_SmoothedEMUnfold1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[8] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_SmoothedEMUnfold1D", 0, 7, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LocalPolyFilter1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfold1D__SWIG_4(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LocalPolyFilter1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfold1D__SWIG_3(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LocalPolyFilter1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfold1D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LocalPolyFilter1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfold1D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__LocalPolyFilter1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SmoothedEMUnfold1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SmoothedEMUnfold1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::SmoothedEMUnfold1D::SmoothedEMUnfold1D(npstat::Matrix< double > const &,npstat::LocalPolyFilter1D const &,bool,bool,bool,double,unsigned int)\n"
" npstat::SmoothedEMUnfold1D::SmoothedEMUnfold1D(npstat::Matrix< double > const &,npstat::LocalPolyFilter1D const &,bool,bool,bool,double)\n"
" npstat::SmoothedEMUnfold1D::SmoothedEMUnfold1D(npstat::Matrix< double > const &,npstat::LocalPolyFilter1D const &,bool,bool,bool)\n"
" npstat::SmoothedEMUnfold1D::SmoothedEMUnfold1D(npstat::Matrix< double > const &,npstat::LocalPolyFilter1D const &,bool,bool)\n"
" npstat::SmoothedEMUnfold1D::SmoothedEMUnfold1D(npstat::Matrix< double > const &,npstat::LocalPolyFilter1D const &,bool)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_SmoothedEMUnfold1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SmoothedEMUnfold1D" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_setMaxIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfold1D_setMaxIterations", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_setMaxIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfold1D_setMaxIterations" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
(arg1)->setMaxIterations(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_useMultinomialCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfold1D_useMultinomialCovariance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_useMultinomialCovariance" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfold1D_useMultinomialCovariance" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->useMultinomialCovariance(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_smoothLastIteration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfold1D_smoothLastIteration", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_smoothLastIteration" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfold1D_smoothLastIteration" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->smoothLastIteration(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_setConvergenceEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "SmoothedEMUnfold1D_setConvergenceEpsilon", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_setConvergenceEpsilon" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SmoothedEMUnfold1D_setConvergenceEpsilon" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setConvergenceEpsilon(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_convergenceEpsilon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_convergenceEpsilon" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (double)((npstat::SmoothedEMUnfold1D const *)arg1)->convergenceEpsilon();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_maxIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_maxIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (unsigned int)((npstat::SmoothedEMUnfold1D const *)arg1)->maxIterations();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_usingMultinomialCovariance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_usingMultinomialCovariance" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (bool)((npstat::SmoothedEMUnfold1D const *)arg1)->usingMultinomialCovariance();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_smoothingLastIteration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_smoothingLastIteration" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (bool)((npstat::SmoothedEMUnfold1D const *)arg1)->smoothingLastIteration();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_lastNIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_lastNIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (unsigned int)((npstat::SmoothedEMUnfold1D const *)arg1)->lastNIterations();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_lastEPIterations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_lastEPIterations" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (unsigned int)((npstat::SmoothedEMUnfold1D const *)arg1)->lastEPIterations();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SmoothedEMUnfold1D_lastSmoothingNormfactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SmoothedEMUnfold1D *arg1 = (npstat::SmoothedEMUnfold1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SmoothedEMUnfold1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SmoothedEMUnfold1D_lastSmoothingNormfactor" "', argument " "1"" of type '" "npstat::SmoothedEMUnfold1D const *""'");
}
arg1 = reinterpret_cast< npstat::SmoothedEMUnfold1D * >(argp1);
{
try {
result = (double)((npstat::SmoothedEMUnfold1D const *)arg1)->lastSmoothingNormfactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SmoothedEMUnfold1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SmoothedEMUnfold1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *SmoothedEMUnfold1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_EllipticalDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
npstat::Matrix< double > *arg3 = 0 ;
npstat::AbsDistribution1D *arg4 = 0 ;
npstat::AbsDistribution1D *arg5 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
npstat::EllipticalDistribution *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_EllipticalDistribution" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalDistribution" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_EllipticalDistribution" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalDistribution" "', argument " "4"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg4 = reinterpret_cast< npstat::AbsDistribution1D * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_EllipticalDistribution" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalDistribution" "', argument " "5"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsDistribution1D * >(argp5);
{
try {
result = (npstat::EllipticalDistribution *)new npstat::EllipticalDistribution((double const *)arg1,arg2,(npstat::Matrix< double > const &)*arg3,(npstat::AbsDistribution1D const &)*arg4,(npstat::AbsDistribution1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::EllipticalDistribution *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EllipticalDistribution" "', argument " "1"" of type '" "npstat::EllipticalDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalDistribution" "', argument " "1"" of type '" "npstat::EllipticalDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = (npstat::EllipticalDistribution *)new npstat::EllipticalDistribution((npstat::EllipticalDistribution const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::EllipticalDistribution *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_clone" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = (npstat::EllipticalDistribution *)((npstat::EllipticalDistribution const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_EllipticalDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EllipticalDistribution" "', argument " "1"" of type '" "npstat::EllipticalDistribution *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_density" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::EllipticalDistribution const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_unitMap" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalDistribution_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "EllipticalDistribution_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "EllipticalDistribution_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::EllipticalDistribution const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_mappedByQuantiles" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = (bool)((npstat::EllipticalDistribution const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_chiSquare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_chiSquare", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_chiSquare" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::EllipticalDistribution const *)arg1)->chiSquare((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_classId" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = ((npstat::EllipticalDistribution const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_write" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalDistribution_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::EllipticalDistribution const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::EllipticalDistribution::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::EllipticalDistribution::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalDistribution_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalDistribution_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalDistribution_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::EllipticalDistribution *)npstat::EllipticalDistribution::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
npstat::AbsDistribution1D *arg6 = 0 ;
npstat::AbsDistribution1D *arg7 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
npstat::EllipticalDistribution *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[2] = {
-1, -1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1], NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 2) ||
!require_size(array3, size, 2)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
arg5 = (int) array_size(array3,1);
}
res6 = SWIG_ConvertPtr(swig_obj[2], &argp6, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_EllipticalDistribution" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalDistribution" "', argument " "6"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsDistribution1D * >(argp6);
res7 = SWIG_ConvertPtr(swig_obj[3], &argp7, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_EllipticalDistribution" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalDistribution" "', argument " "7"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg7 = reinterpret_cast< npstat::AbsDistribution1D * >(argp7);
{
try {
result = (npstat::EllipticalDistribution *)new npstat::EllipticalDistribution((double const *)arg1,arg2,(double const *)arg3,arg4,arg5,(npstat::AbsDistribution1D const &)*arg6,(npstat::AbsDistribution1D const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_EllipticalDistribution", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_EllipticalDistribution__SWIG_1(self, argc, argv);
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_EllipticalDistribution__SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_EllipticalDistribution__SWIG_2(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_EllipticalDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::EllipticalDistribution::EllipticalDistribution(double const *,unsigned int,npstat::Matrix< double > const &,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::EllipticalDistribution::EllipticalDistribution(npstat::EllipticalDistribution const &)\n"
" npstat::EllipticalDistribution::EllipticalDistribution(double const *,unsigned int,double const *,unsigned int,unsigned int,npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_getGDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_getGDistro" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::EllipticalDistribution const *)arg1)->getGDistro2();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_getHDistro(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_getHDistro" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *)((npstat::EllipticalDistribution const *)arg1)->getHDistro2();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_getTransformationMatrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::Matrix< double > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_getTransformationMatrix" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = ((npstat::EllipticalDistribution const *)arg1)->getTransformationMatrix2();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double >(static_cast< const npstat::Matrix< double >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalDistribution_getShift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< double,std::allocator< double > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalDistribution_getShift" "', argument " "1"" of type '" "npstat::EllipticalDistribution const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
{
try {
result = ((npstat::EllipticalDistribution const *)arg1)->getShift2();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *EllipticalDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *EllipticalDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_EllipticalDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::EllipticalDistribution > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_EllipticalDistribution", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_EllipticalDistribution" "', argument " "1"" of type '" "npstat::EllipticalDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_EllipticalDistribution" "', argument " "1"" of type '" "npstat::EllipticalDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_EllipticalDistribution" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_EllipticalDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::EllipticalDistribution > *)new gs::ArchiveRecord< npstat::EllipticalDistribution >((npstat::EllipticalDistribution const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalDistribution_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_EllipticalDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::EllipticalDistribution > *arg1 = (gs::ArchiveRecord< npstat::EllipticalDistribution > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_EllipticalDistribution" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::EllipticalDistribution > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::EllipticalDistribution > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_116(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::EllipticalDistribution *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::EllipticalDistribution > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalDistribution const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalDistribution const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalDistribution * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::EllipticalDistribution >((npstat::EllipticalDistribution const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::EllipticalDistribution >(static_cast< const gs::ArchiveRecord< npstat::EllipticalDistribution >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalDistribution_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalDistribution__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::EllipticalDistribution > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_EllipticalDistribution" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::EllipticalDistribution > *)new gs::Reference< npstat::EllipticalDistribution >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalDistribution__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::EllipticalDistribution > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalDistribution" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalDistribution" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::EllipticalDistribution > *)new gs::Reference< npstat::EllipticalDistribution >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalDistribution__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::EllipticalDistribution > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalDistribution" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalDistribution" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::EllipticalDistribution > *)new gs::Reference< npstat::EllipticalDistribution >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalDistribution(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_EllipticalDistribution", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_EllipticalDistribution__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalDistribution__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalDistribution__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_EllipticalDistribution'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::EllipticalDistribution >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::EllipticalDistribution >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::EllipticalDistribution >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalDistribution_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalDistribution > *arg1 = (gs::Reference< npstat::EllipticalDistribution > *) 0 ;
unsigned long arg2 ;
npstat::EllipticalDistribution *arg3 = (npstat::EllipticalDistribution *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalDistribution_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalDistribution_restore" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalDistribution_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__EllipticalDistribution, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_EllipticalDistribution_restore" "', argument " "3"" of type '" "npstat::EllipticalDistribution *""'");
}
arg3 = reinterpret_cast< npstat::EllipticalDistribution * >(argp3);
{
try {
((gs::Reference< npstat::EllipticalDistribution > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalDistribution_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalDistribution > *arg1 = (gs::Reference< npstat::EllipticalDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalDistribution *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalDistribution_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalDistribution_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalDistribution_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::EllipticalDistribution *)gs_Reference_Sl_npstat_EllipticalDistribution_Sg__retrieve((gs::Reference< npstat::EllipticalDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalDistribution_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalDistribution > *arg1 = (gs::Reference< npstat::EllipticalDistribution > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::EllipticalDistribution > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalDistribution_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalDistribution_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalDistribution > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalDistribution > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalDistribution_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_EllipticalDistribution_Sg__getValue((gs::Reference< npstat::EllipticalDistribution > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::EllipticalDistribution(static_cast< const npstat::EllipticalDistribution& >(result))), SWIGTYPE_p_npstat__EllipticalDistribution, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_EllipticalDistribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalDistribution > *arg1 = (gs::Reference< npstat::EllipticalDistribution > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_EllipticalDistribution" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalDistribution > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalDistribution > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_EllipticalDistribution_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalDistribution_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_EllipticalDistribution_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_EllipticalNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
npstat::Matrix< double > *arg3 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
npstat::EllipticalNormal *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_EllipticalNormal" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalNormal" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
{
try {
result = (npstat::EllipticalNormal *)new npstat::EllipticalNormal((double const *)arg1,arg2,(npstat::Matrix< double > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalNormal, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_EllipticalNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalNormal *arg1 = (npstat::EllipticalNormal *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalNormal, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EllipticalNormal" "', argument " "1"" of type '" "npstat::EllipticalNormal *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalNormal * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalNormal_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalNormal *arg1 = (npstat::EllipticalNormal *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalNormal, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalNormal_classId" "', argument " "1"" of type '" "npstat::EllipticalNormal const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalNormal * >(argp1);
{
try {
result = ((npstat::EllipticalNormal const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalNormal_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalNormal *arg1 = (npstat::EllipticalNormal *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalNormal_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalNormal, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalNormal_write" "', argument " "1"" of type '" "npstat::EllipticalNormal const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalNormal * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalNormal_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalNormal_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::EllipticalNormal const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalNormal_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalNormal_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::EllipticalNormal::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalNormal_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalNormal_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::EllipticalNormal::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalNormal_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalNormal *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalNormal_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalNormal_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalNormal_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalNormal_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalNormal_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::EllipticalNormal *)npstat::EllipticalNormal::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalNormal, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
npstat::EllipticalNormal *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[2] = {
-1, -1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1], NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 2) ||
!require_size(array3, size, 2)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
arg5 = (int) array_size(array3,1);
}
{
try {
result = (npstat::EllipticalNormal *)new npstat::EllipticalNormal((double const *)arg1,arg2,(double const *)arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalNormal, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalNormal(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_EllipticalNormal", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_EllipticalNormal__SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
if (argc <= 2) {
return _wrap_new_EllipticalNormal__SWIG_1(self, argc, argv);
}
if (argc <= 3) {
return _wrap_new_EllipticalNormal__SWIG_1(self, argc, argv);
}
return _wrap_new_EllipticalNormal__SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_EllipticalNormal'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::EllipticalNormal::EllipticalNormal(double const *,unsigned int,npstat::Matrix< double > const &)\n"
" npstat::EllipticalNormal::EllipticalNormal(double const *,unsigned int,double const *,unsigned int,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *EllipticalNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__EllipticalNormal, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *EllipticalNormal_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_EllipticalKotz__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
npstat::Matrix< double > *arg3 = 0 ;
unsigned int arg4 ;
double arg5 ;
double arg6 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
npstat::EllipticalKotz *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_EllipticalKotz" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalKotz" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_EllipticalKotz" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_EllipticalKotz" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EllipticalKotz" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (npstat::EllipticalKotz *)new npstat::EllipticalKotz((double const *)arg1,arg2,(npstat::Matrix< double > const &)*arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalKotz, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_EllipticalKotz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalKotz *arg1 = (npstat::EllipticalKotz *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalKotz, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EllipticalKotz" "', argument " "1"" of type '" "npstat::EllipticalKotz *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalKotz * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalKotz_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalKotz *arg1 = (npstat::EllipticalKotz *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalKotz_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalKotz, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalKotz_density" "', argument " "1"" of type '" "npstat::EllipticalKotz const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalKotz * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::EllipticalKotz const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalKotz_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalKotz *arg1 = (npstat::EllipticalKotz *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalKotz, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalKotz_classId" "', argument " "1"" of type '" "npstat::EllipticalKotz const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalKotz * >(argp1);
{
try {
result = ((npstat::EllipticalKotz const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalKotz_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalKotz *arg1 = (npstat::EllipticalKotz *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalKotz_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalKotz, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalKotz_write" "', argument " "1"" of type '" "npstat::EllipticalKotz const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalKotz * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalKotz_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalKotz_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::EllipticalKotz const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalKotz_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalKotz_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::EllipticalKotz::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalKotz_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalKotz_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::EllipticalKotz::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalKotz_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalKotz *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalKotz_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalKotz_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalKotz_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalKotz_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalKotz_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::EllipticalKotz *)npstat::EllipticalKotz::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalKotz, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalKotz__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
double arg7 ;
double arg8 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
double val8 ;
int ecode8 = 0 ;
npstat::EllipticalKotz *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[2] = {
-1, -1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1], NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 2) ||
!require_size(array3, size, 2)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
arg5 = (int) array_size(array3,1);
}
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EllipticalKotz" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_EllipticalKotz" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_double(swig_obj[4], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_EllipticalKotz" "', argument " "8"" of type '" "double""'");
}
arg8 = static_cast< double >(val8);
{
try {
result = (npstat::EllipticalKotz *)new npstat::EllipticalKotz((double const *)arg1,arg2,(double const *)arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalKotz, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalKotz(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_EllipticalKotz", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_EllipticalKotz__SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 5) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_EllipticalKotz__SWIG_1(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_EllipticalKotz'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::EllipticalKotz::EllipticalKotz(double const *,unsigned int,npstat::Matrix< double > const &,unsigned int const,double const,double const)\n"
" npstat::EllipticalKotz::EllipticalKotz(double const *,unsigned int,double const *,unsigned int,unsigned int,unsigned int const,double const,double const)\n");
return 0;
}
SWIGINTERN PyObject *EllipticalKotz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__EllipticalKotz, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *EllipticalKotz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_EllipticalPearsonTypeVII__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
npstat::Matrix< double > *arg3 = 0 ;
unsigned int arg4 ;
double arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::EllipticalPearsonTypeVII *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_EllipticalPearsonTypeVII" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalPearsonTypeVII" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_EllipticalPearsonTypeVII" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_EllipticalPearsonTypeVII" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::EllipticalPearsonTypeVII *)new npstat::EllipticalPearsonTypeVII((double const *)arg1,arg2,(npstat::Matrix< double > const &)*arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_EllipticalPearsonTypeVII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeVII *arg1 = (npstat::EllipticalPearsonTypeVII *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeVII * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeVII_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeVII *arg1 = (npstat::EllipticalPearsonTypeVII *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalPearsonTypeVII_classId" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeVII * >(argp1);
{
try {
result = ((npstat::EllipticalPearsonTypeVII const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeVII_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeVII *arg1 = (npstat::EllipticalPearsonTypeVII *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeVII_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalPearsonTypeVII_write" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeVII * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalPearsonTypeVII_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalPearsonTypeVII_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::EllipticalPearsonTypeVII const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeVII_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeVII_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::EllipticalPearsonTypeVII::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeVII_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeVII_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::EllipticalPearsonTypeVII::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeVII_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalPearsonTypeVII *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeVII_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalPearsonTypeVII_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalPearsonTypeVII_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalPearsonTypeVII_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalPearsonTypeVII_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::EllipticalPearsonTypeVII *)npstat::EllipticalPearsonTypeVII::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalPearsonTypeVII__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
double arg7 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
npstat::EllipticalPearsonTypeVII *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[2] = {
-1, -1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1], NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 2) ||
!require_size(array3, size, 2)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
arg5 = (int) array_size(array3,1);
}
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EllipticalPearsonTypeVII" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_EllipticalPearsonTypeVII" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (npstat::EllipticalPearsonTypeVII *)new npstat::EllipticalPearsonTypeVII((double const *)arg1,arg2,(double const *)arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalPearsonTypeVII(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_EllipticalPearsonTypeVII", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_EllipticalPearsonTypeVII__SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_EllipticalPearsonTypeVII__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_EllipticalPearsonTypeVII'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::EllipticalPearsonTypeVII::EllipticalPearsonTypeVII(double const *,unsigned int,npstat::Matrix< double > const &,unsigned int const,double const)\n"
" npstat::EllipticalPearsonTypeVII::EllipticalPearsonTypeVII(double const *,unsigned int,double const *,unsigned int,unsigned int,unsigned int const,double const)\n");
return 0;
}
SWIGINTERN PyObject *EllipticalPearsonTypeVII_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *EllipticalPearsonTypeVII_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_EllipticalPearsonTypeII__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
npstat::Matrix< double > *arg3 = 0 ;
unsigned int arg4 ;
double arg5 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::EllipticalPearsonTypeII *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_EllipticalPearsonTypeII" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_EllipticalPearsonTypeII" "', argument " "3"" of type '" "npstat::Matrix< double > const &""'");
}
arg3 = reinterpret_cast< npstat::Matrix< double > * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_EllipticalPearsonTypeII" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[3], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_EllipticalPearsonTypeII" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::EllipticalPearsonTypeII *)new npstat::EllipticalPearsonTypeII((double const *)arg1,arg2,(npstat::Matrix< double > const &)*arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_EllipticalPearsonTypeII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeII *arg1 = (npstat::EllipticalPearsonTypeII *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_EllipticalPearsonTypeII" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeII * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeII_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeII *arg1 = (npstat::EllipticalPearsonTypeII *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalPearsonTypeII, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalPearsonTypeII_classId" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeII * >(argp1);
{
try {
result = ((npstat::EllipticalPearsonTypeII const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeII_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeII *arg1 = (npstat::EllipticalPearsonTypeII *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeII_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__EllipticalPearsonTypeII, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalPearsonTypeII_write" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII const *""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeII * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalPearsonTypeII_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalPearsonTypeII_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::EllipticalPearsonTypeII const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeII_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeII_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::EllipticalPearsonTypeII::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeII_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeII_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::EllipticalPearsonTypeII::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_EllipticalPearsonTypeII_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalPearsonTypeII *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "EllipticalPearsonTypeII_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EllipticalPearsonTypeII_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalPearsonTypeII_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "EllipticalPearsonTypeII_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "EllipticalPearsonTypeII_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::EllipticalPearsonTypeII *)npstat::EllipticalPearsonTypeII::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalPearsonTypeII__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double *arg3 = (double *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
unsigned int arg6 ;
double arg7 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
PyArrayObject *array3 = NULL ;
int is_new_object3 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
npstat::EllipticalPearsonTypeII *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
{
npy_intp size[2] = {
-1, -1
};
array3 = obj_to_array_contiguous_allow_conversion(swig_obj[1], NPY_DOUBLE,
&is_new_object3);
if (!array3 || !require_dimensions(array3, 2) ||
!require_size(array3, size, 2)) SWIG_fail;
arg3 = (double*) array_data(array3);
arg4 = (int) array_size(array3,0);
arg5 = (int) array_size(array3,1);
}
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EllipticalPearsonTypeII" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[3], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_EllipticalPearsonTypeII" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (npstat::EllipticalPearsonTypeII *)new npstat::EllipticalPearsonTypeII((double const *)arg1,arg2,(double const *)arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
{
if (is_new_object3 && array3)
{
Py_DECREF(array3);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_new_EllipticalPearsonTypeII(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_EllipticalPearsonTypeII", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_EllipticalPearsonTypeII__SWIG_0(self, argc, argv);
}
}
}
}
}
if (argc == 4) {
int _v;
{
_v = is_array(argv[0]) || PySequence_Check(argv[0]);
}
if (_v) {
{
_v = is_array(argv[1]) || PySequence_Check(argv[1]);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_EllipticalPearsonTypeII__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_EllipticalPearsonTypeII'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::EllipticalPearsonTypeII::EllipticalPearsonTypeII(double const *,unsigned int,npstat::Matrix< double > const &,unsigned int const,double const)\n"
" npstat::EllipticalPearsonTypeII::EllipticalPearsonTypeII(double const *,unsigned int,double const *,unsigned int,unsigned int,unsigned int const,double const)\n");
return 0;
}
SWIGINTERN PyObject *EllipticalPearsonTypeII_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *EllipticalPearsonTypeII_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_EllipticalNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalNormal *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::EllipticalNormal > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_EllipticalNormal", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalNormal, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_EllipticalNormal" "', argument " "1"" of type '" "npstat::EllipticalNormal const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_EllipticalNormal" "', argument " "1"" of type '" "npstat::EllipticalNormal const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalNormal * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_EllipticalNormal" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_EllipticalNormal" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::EllipticalNormal > *)new gs::ArchiveRecord< npstat::EllipticalNormal >((npstat::EllipticalNormal const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalNormal_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_EllipticalNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::EllipticalNormal > *arg1 = (gs::ArchiveRecord< npstat::EllipticalNormal > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalNormal_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_EllipticalNormal" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::EllipticalNormal > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::EllipticalNormal > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalNormal_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalNormal_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_117(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::EllipticalNormal *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::EllipticalNormal > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalNormal, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalNormal const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalNormal const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalNormal * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::EllipticalNormal >((npstat::EllipticalNormal const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::EllipticalNormal >(static_cast< const gs::ArchiveRecord< npstat::EllipticalNormal >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalNormal_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalNormal__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::EllipticalNormal > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_EllipticalNormal" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::EllipticalNormal > *)new gs::Reference< npstat::EllipticalNormal >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalNormal__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::EllipticalNormal > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalNormal" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalNormal" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::EllipticalNormal > *)new gs::Reference< npstat::EllipticalNormal >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalNormal__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::EllipticalNormal > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalNormal" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalNormal" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalNormal" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalNormal" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::EllipticalNormal > *)new gs::Reference< npstat::EllipticalNormal >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalNormal(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_EllipticalNormal", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_EllipticalNormal__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalNormal__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalNormal__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_EllipticalNormal'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::EllipticalNormal >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::EllipticalNormal >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::EllipticalNormal >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalNormal_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalNormal > *arg1 = (gs::Reference< npstat::EllipticalNormal > *) 0 ;
unsigned long arg2 ;
npstat::EllipticalNormal *arg3 = (npstat::EllipticalNormal *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalNormal_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalNormal_restore" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalNormal > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalNormal > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalNormal_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__EllipticalNormal, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_EllipticalNormal_restore" "', argument " "3"" of type '" "npstat::EllipticalNormal *""'");
}
arg3 = reinterpret_cast< npstat::EllipticalNormal * >(argp3);
{
try {
((gs::Reference< npstat::EllipticalNormal > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalNormal_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalNormal > *arg1 = (gs::Reference< npstat::EllipticalNormal > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalNormal *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalNormal_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalNormal_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalNormal > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalNormal > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalNormal_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::EllipticalNormal *)gs_Reference_Sl_npstat_EllipticalNormal_Sg__retrieve((gs::Reference< npstat::EllipticalNormal > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalNormal, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalNormal_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalNormal > *arg1 = (gs::Reference< npstat::EllipticalNormal > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::EllipticalNormal > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalNormal_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalNormal_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalNormal > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalNormal > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalNormal_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_EllipticalNormal_Sg__getValue((gs::Reference< npstat::EllipticalNormal > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::EllipticalNormal(static_cast< const npstat::EllipticalNormal& >(result))), SWIGTYPE_p_npstat__EllipticalNormal, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_EllipticalNormal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalNormal > *arg1 = (gs::Reference< npstat::EllipticalNormal > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_EllipticalNormal" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalNormal > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalNormal > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_EllipticalNormal_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalNormal_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_EllipticalNormal_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_EllipticalPearsonTypeVII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeVII *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_EllipticalPearsonTypeVII", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeVII * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_EllipticalPearsonTypeVII" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_EllipticalPearsonTypeVII" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > *)new gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII >((npstat::EllipticalPearsonTypeVII const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_EllipticalPearsonTypeVII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > *arg1 = (gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalPearsonTypeVII_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeVII_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalPearsonTypeVII_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_118(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeVII *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeVII const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeVII * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::EllipticalPearsonTypeVII >((npstat::EllipticalPearsonTypeVII const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII >(static_cast< const gs::ArchiveRecord< npstat::EllipticalPearsonTypeVII >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeVII__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::EllipticalPearsonTypeVII > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::EllipticalPearsonTypeVII > *)new gs::Reference< npstat::EllipticalPearsonTypeVII >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeVII__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::EllipticalPearsonTypeVII > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::EllipticalPearsonTypeVII > *)new gs::Reference< npstat::EllipticalPearsonTypeVII >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeVII__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::EllipticalPearsonTypeVII > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeVII" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::EllipticalPearsonTypeVII > *)new gs::Reference< npstat::EllipticalPearsonTypeVII >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeVII(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_EllipticalPearsonTypeVII", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_EllipticalPearsonTypeVII__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalPearsonTypeVII__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalPearsonTypeVII__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_EllipticalPearsonTypeVII'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::EllipticalPearsonTypeVII >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::EllipticalPearsonTypeVII >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::EllipticalPearsonTypeVII >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalPearsonTypeVII_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeVII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeVII > *) 0 ;
unsigned long arg2 ;
npstat::EllipticalPearsonTypeVII *arg3 = (npstat::EllipticalPearsonTypeVII *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalPearsonTypeVII_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalPearsonTypeVII_restore" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeVII > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeVII > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalPearsonTypeVII_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_EllipticalPearsonTypeVII_restore" "', argument " "3"" of type '" "npstat::EllipticalPearsonTypeVII *""'");
}
arg3 = reinterpret_cast< npstat::EllipticalPearsonTypeVII * >(argp3);
{
try {
((gs::Reference< npstat::EllipticalPearsonTypeVII > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalPearsonTypeVII_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeVII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeVII > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalPearsonTypeVII *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalPearsonTypeVII_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalPearsonTypeVII_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeVII > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeVII > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalPearsonTypeVII_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::EllipticalPearsonTypeVII *)gs_Reference_Sl_npstat_EllipticalPearsonTypeVII_Sg__retrieve((gs::Reference< npstat::EllipticalPearsonTypeVII > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalPearsonTypeVII_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeVII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeVII > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::EllipticalPearsonTypeVII > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalPearsonTypeVII_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalPearsonTypeVII_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeVII > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeVII > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalPearsonTypeVII_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_EllipticalPearsonTypeVII_Sg__getValue((gs::Reference< npstat::EllipticalPearsonTypeVII > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::EllipticalPearsonTypeVII(static_cast< const npstat::EllipticalPearsonTypeVII& >(result))), SWIGTYPE_p_npstat__EllipticalPearsonTypeVII, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_EllipticalPearsonTypeVII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeVII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeVII > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_EllipticalPearsonTypeVII" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeVII > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeVII > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_EllipticalPearsonTypeVII_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeVII_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_EllipticalPearsonTypeVII_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_EllipticalPearsonTypeII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeII *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_EllipticalPearsonTypeII", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalPearsonTypeII, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_EllipticalPearsonTypeII" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_EllipticalPearsonTypeII" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeII * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_EllipticalPearsonTypeII" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_EllipticalPearsonTypeII" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > *)new gs::ArchiveRecord< npstat::EllipticalPearsonTypeII >((npstat::EllipticalPearsonTypeII const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_EllipticalPearsonTypeII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > *arg1 = (gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalPearsonTypeII_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeII_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalPearsonTypeII_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_119(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::EllipticalPearsonTypeII *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::EllipticalPearsonTypeII > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalPearsonTypeII, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalPearsonTypeII const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalPearsonTypeII * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::EllipticalPearsonTypeII >((npstat::EllipticalPearsonTypeII const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::EllipticalPearsonTypeII >(static_cast< const gs::ArchiveRecord< npstat::EllipticalPearsonTypeII >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeII__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::EllipticalPearsonTypeII > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::EllipticalPearsonTypeII > *)new gs::Reference< npstat::EllipticalPearsonTypeII >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeII__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::EllipticalPearsonTypeII > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::EllipticalPearsonTypeII > *)new gs::Reference< npstat::EllipticalPearsonTypeII >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeII__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::EllipticalPearsonTypeII > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalPearsonTypeII" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::EllipticalPearsonTypeII > *)new gs::Reference< npstat::EllipticalPearsonTypeII >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalPearsonTypeII(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_EllipticalPearsonTypeII", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_EllipticalPearsonTypeII__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalPearsonTypeII__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalPearsonTypeII__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_EllipticalPearsonTypeII'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::EllipticalPearsonTypeII >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::EllipticalPearsonTypeII >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::EllipticalPearsonTypeII >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalPearsonTypeII_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeII > *) 0 ;
unsigned long arg2 ;
npstat::EllipticalPearsonTypeII *arg3 = (npstat::EllipticalPearsonTypeII *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalPearsonTypeII_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalPearsonTypeII_restore" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeII > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeII > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalPearsonTypeII_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__EllipticalPearsonTypeII, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_EllipticalPearsonTypeII_restore" "', argument " "3"" of type '" "npstat::EllipticalPearsonTypeII *""'");
}
arg3 = reinterpret_cast< npstat::EllipticalPearsonTypeII * >(argp3);
{
try {
((gs::Reference< npstat::EllipticalPearsonTypeII > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalPearsonTypeII_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeII > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalPearsonTypeII *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalPearsonTypeII_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalPearsonTypeII_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeII > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeII > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalPearsonTypeII_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::EllipticalPearsonTypeII *)gs_Reference_Sl_npstat_EllipticalPearsonTypeII_Sg__retrieve((gs::Reference< npstat::EllipticalPearsonTypeII > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalPearsonTypeII_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeII > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::EllipticalPearsonTypeII > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalPearsonTypeII_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalPearsonTypeII_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeII > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeII > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalPearsonTypeII_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_EllipticalPearsonTypeII_Sg__getValue((gs::Reference< npstat::EllipticalPearsonTypeII > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::EllipticalPearsonTypeII(static_cast< const npstat::EllipticalPearsonTypeII& >(result))), SWIGTYPE_p_npstat__EllipticalPearsonTypeII, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_EllipticalPearsonTypeII(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalPearsonTypeII > *arg1 = (gs::Reference< npstat::EllipticalPearsonTypeII > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_EllipticalPearsonTypeII" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalPearsonTypeII > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalPearsonTypeII > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_EllipticalPearsonTypeII_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalPearsonTypeII_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_EllipticalPearsonTypeII_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_EllipticalKotz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::EllipticalKotz *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::EllipticalKotz > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_EllipticalKotz", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalKotz, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_EllipticalKotz" "', argument " "1"" of type '" "npstat::EllipticalKotz const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_EllipticalKotz" "', argument " "1"" of type '" "npstat::EllipticalKotz const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalKotz * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_EllipticalKotz" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_EllipticalKotz" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::EllipticalKotz > *)new gs::ArchiveRecord< npstat::EllipticalKotz >((npstat::EllipticalKotz const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalKotz_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_EllipticalKotz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::EllipticalKotz > *arg1 = (gs::ArchiveRecord< npstat::EllipticalKotz > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalKotz_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_EllipticalKotz" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::EllipticalKotz > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::EllipticalKotz > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalKotz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalKotz_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_EllipticalKotz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_120(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::EllipticalKotz *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::EllipticalKotz > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__EllipticalKotz, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalKotz const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::EllipticalKotz const &""'");
}
arg1 = reinterpret_cast< npstat::EllipticalKotz * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::EllipticalKotz >((npstat::EllipticalKotz const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::EllipticalKotz >(static_cast< const gs::ArchiveRecord< npstat::EllipticalKotz >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__EllipticalKotz_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalKotz__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::EllipticalKotz > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_EllipticalKotz" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::EllipticalKotz > *)new gs::Reference< npstat::EllipticalKotz >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalKotz__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::EllipticalKotz > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalKotz" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalKotz" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::EllipticalKotz > *)new gs::Reference< npstat::EllipticalKotz >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalKotz__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::EllipticalKotz > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_EllipticalKotz" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalKotz" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_EllipticalKotz" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_EllipticalKotz" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::EllipticalKotz > *)new gs::Reference< npstat::EllipticalKotz >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_EllipticalKotz(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_EllipticalKotz", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_EllipticalKotz__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalKotz__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_EllipticalKotz__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_EllipticalKotz'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::EllipticalKotz >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::EllipticalKotz >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::EllipticalKotz >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalKotz_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalKotz > *arg1 = (gs::Reference< npstat::EllipticalKotz > *) 0 ;
unsigned long arg2 ;
npstat::EllipticalKotz *arg3 = (npstat::EllipticalKotz *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalKotz_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalKotz_restore" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalKotz > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalKotz > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalKotz_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__EllipticalKotz, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_EllipticalKotz_restore" "', argument " "3"" of type '" "npstat::EllipticalKotz *""'");
}
arg3 = reinterpret_cast< npstat::EllipticalKotz * >(argp3);
{
try {
((gs::Reference< npstat::EllipticalKotz > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalKotz_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalKotz > *arg1 = (gs::Reference< npstat::EllipticalKotz > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::EllipticalKotz *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalKotz_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalKotz_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalKotz > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalKotz > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalKotz_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::EllipticalKotz *)gs_Reference_Sl_npstat_EllipticalKotz_Sg__retrieve((gs::Reference< npstat::EllipticalKotz > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__EllipticalKotz, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_EllipticalKotz_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalKotz > *arg1 = (gs::Reference< npstat::EllipticalKotz > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::EllipticalKotz > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_EllipticalKotz_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_EllipticalKotz_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalKotz > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalKotz > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_EllipticalKotz_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_EllipticalKotz_Sg__getValue((gs::Reference< npstat::EllipticalKotz > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::EllipticalKotz(static_cast< const npstat::EllipticalKotz& >(result))), SWIGTYPE_p_npstat__EllipticalKotz, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_EllipticalKotz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::EllipticalKotz > *arg1 = (gs::Reference< npstat::EllipticalKotz > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_EllipticalKotz" "', argument " "1"" of type '" "gs::Reference< npstat::EllipticalKotz > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::EllipticalKotz > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_EllipticalKotz_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__EllipticalKotz_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_EllipticalKotz_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_DiscreteGaussCopulaSmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *arg5 = (npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *) 0 ;
bool arg6 ;
npstat::Matrix< double > *arg7 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
PyObject *swig_obj[6] ;
npstat::DiscreteGaussCopulaSmoother *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DiscreteGaussCopulaSmoother", 6, 6, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_DiscreteGaussCopulaSmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DiscreteGaussCopulaSmoother" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5,SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_DiscreteGaussCopulaSmoother" "', argument " "5"" of type '" "npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *""'");
}
arg5 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc * >(argp5);
ecode6 = SWIG_AsVal_bool(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DiscreteGaussCopulaSmoother" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[5], &argp7, SWIGTYPE_p_npstat__MatrixT_double_16U_t, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DiscreteGaussCopulaSmoother" "', argument " "7"" of type '" "npstat::Matrix< double > const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DiscreteGaussCopulaSmoother" "', argument " "7"" of type '" "npstat::Matrix< double > const &""'");
}
arg7 = reinterpret_cast< npstat::Matrix< double > * >(argp7);
{
try {
result = (npstat::DiscreteGaussCopulaSmoother *)new npstat::DiscreteGaussCopulaSmoother((unsigned int const *)arg1,arg2,arg3,arg4,(npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *)arg5,arg6,(npstat::Matrix< double > const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__DiscreteGaussCopulaSmoother, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_DiscreteGaussCopulaSmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::DiscreteGaussCopulaSmoother *arg1 = (npstat::DiscreteGaussCopulaSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__DiscreteGaussCopulaSmoother, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DiscreteGaussCopulaSmoother" "', argument " "1"" of type '" "npstat::DiscreteGaussCopulaSmoother *""'");
}
arg1 = reinterpret_cast< npstat::DiscreteGaussCopulaSmoother * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DiscreteGaussCopulaSmoother_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__DiscreteGaussCopulaSmoother, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DiscreteGaussCopulaSmoother_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_multinomialCovariance1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
double arg4 ;
double arg5 ;
unsigned int arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
unsigned int val6 ;
int ecode6 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "multinomialCovariance1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "multinomialCovariance1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "multinomialCovariance1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "multinomialCovariance1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "multinomialCovariance1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "multinomialCovariance1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "multinomialCovariance1D" "', argument " "6"" of type '" "unsigned int""'");
}
arg6 = static_cast< unsigned int >(val6);
{
try {
result = npstat::multinomialCovariance1D((npstat::AbsDistribution1D const &)*arg1,arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double,16U >(static_cast< const npstat::Matrix< double,16U >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_multinomialCovariance1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
double arg2 ;
unsigned int arg3 ;
double arg4 ;
double arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::Matrix< double,16U > result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "multinomialCovariance1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "multinomialCovariance1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "multinomialCovariance1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "multinomialCovariance1D" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "multinomialCovariance1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "multinomialCovariance1D" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = npstat::multinomialCovariance1D((npstat::AbsDistribution1D const &)*arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::Matrix< double,16U >(static_cast< const npstat::Matrix< double,16U >& >(result))), SWIGTYPE_p_npstat__MatrixT_double_16U_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_multinomialCovariance1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "multinomialCovariance1D", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_multinomialCovariance1D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_multinomialCovariance1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'multinomialCovariance1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::multinomialCovariance1D(npstat::AbsDistribution1D const &,double,unsigned int,double,double,unsigned int)\n"
" npstat::multinomialCovariance1D(npstat::AbsDistribution1D const &,double,unsigned int,double,double)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_CompositeDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
npstat::CompositeDistribution1D *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_CompositeDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CompositeDistribution1D" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
{
try {
result = (npstat::CompositeDistribution1D *)new npstat::CompositeDistribution1D((npstat::AbsDistribution1D const &)*arg1,(npstat::AbsDistribution1D const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_CompositeDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::CompositeDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
{
try {
result = (npstat::CompositeDistribution1D *)new npstat::CompositeDistribution1D((npstat::CompositeDistribution1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_CompositeDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_CompositeDistribution1D", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_CompositeDistribution1D__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_CompositeDistribution1D__SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CompositeDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::CompositeDistribution1D::CompositeDistribution1D(npstat::AbsDistribution1D const &,npstat::AbsDistribution1D const &)\n"
" npstat::CompositeDistribution1D::CompositeDistribution1D(npstat::CompositeDistribution1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_CompositeDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::CompositeDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_density" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CompositeDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::CompositeDistribution1D const *)arg1)->density(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_cdf" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CompositeDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::CompositeDistribution1D const *)arg1)->cdf(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CompositeDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::CompositeDistribution1D const *)arg1)->exceedance(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_quantile" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CompositeDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::CompositeDistribution1D const *)arg1)->quantile(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::CompositeDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_clone" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
{
try {
result = (npstat::CompositeDistribution1D *)((npstat::CompositeDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_G(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_G" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::CompositeDistribution1D const *)arg1)->G();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_H(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_H" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
{
try {
result = (npstat::AbsDistribution1D *) &((npstat::CompositeDistribution1D const *)arg1)->H();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_classId" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
{
try {
result = ((npstat::CompositeDistribution1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = (npstat::CompositeDistribution1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_write" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositeDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CompositeDistribution1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::CompositeDistribution1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::CompositeDistribution1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::CompositeDistribution1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeDistribution1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::CompositeDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "CompositeDistribution1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CompositeDistribution1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositeDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CompositeDistribution1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::CompositeDistribution1D *)npstat::CompositeDistribution1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CompositeDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *CompositeDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_CompositeDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::CompositeDistribution1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_CompositeDistribution1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_CompositeDistribution1D" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_CompositeDistribution1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_CompositeDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::CompositeDistribution1D > *)new gs::ArchiveRecord< npstat::CompositeDistribution1D >((npstat::CompositeDistribution1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__CompositeDistribution1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_CompositeDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::CompositeDistribution1D > *arg1 = (gs::ArchiveRecord< npstat::CompositeDistribution1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__CompositeDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_CompositeDistribution1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::CompositeDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::CompositeDistribution1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_CompositeDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__CompositeDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_CompositeDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_121(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::CompositeDistribution1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::CompositeDistribution1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::CompositeDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::CompositeDistribution1D >((npstat::CompositeDistribution1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::CompositeDistribution1D >(static_cast< const gs::ArchiveRecord< npstat::CompositeDistribution1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__CompositeDistribution1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_CompositeDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::CompositeDistribution1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::CompositeDistribution1D > *)new gs::Reference< npstat::CompositeDistribution1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_CompositeDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::CompositeDistribution1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::CompositeDistribution1D > *)new gs::Reference< npstat::CompositeDistribution1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_CompositeDistribution1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::CompositeDistribution1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_CompositeDistribution1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_CompositeDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_CompositeDistribution1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::CompositeDistribution1D > *)new gs::Reference< npstat::CompositeDistribution1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_CompositeDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_CompositeDistribution1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_CompositeDistribution1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_CompositeDistribution1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_CompositeDistribution1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_CompositeDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::CompositeDistribution1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::CompositeDistribution1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::CompositeDistribution1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_CompositeDistribution1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::CompositeDistribution1D > *arg1 = (gs::Reference< npstat::CompositeDistribution1D > *) 0 ;
unsigned long arg2 ;
npstat::CompositeDistribution1D *arg3 = (npstat::CompositeDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_CompositeDistribution1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_CompositeDistribution1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::CompositeDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::CompositeDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_CompositeDistribution1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__CompositeDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_CompositeDistribution1D_restore" "', argument " "3"" of type '" "npstat::CompositeDistribution1D *""'");
}
arg3 = reinterpret_cast< npstat::CompositeDistribution1D * >(argp3);
{
try {
((gs::Reference< npstat::CompositeDistribution1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_CompositeDistribution1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::CompositeDistribution1D > *arg1 = (gs::Reference< npstat::CompositeDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::CompositeDistribution1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_CompositeDistribution1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_CompositeDistribution1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::CompositeDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::CompositeDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_CompositeDistribution1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::CompositeDistribution1D *)gs_Reference_Sl_npstat_CompositeDistribution1D_Sg__retrieve((gs::Reference< npstat::CompositeDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_CompositeDistribution1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::CompositeDistribution1D > *arg1 = (gs::Reference< npstat::CompositeDistribution1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::CompositeDistribution1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_CompositeDistribution1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_CompositeDistribution1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::CompositeDistribution1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::CompositeDistribution1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_CompositeDistribution1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_CompositeDistribution1D_Sg__getValue((gs::Reference< npstat::CompositeDistribution1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::CompositeDistribution1D(static_cast< const npstat::CompositeDistribution1D& >(result))), SWIGTYPE_p_npstat__CompositeDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_CompositeDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::CompositeDistribution1D > *arg1 = (gs::Reference< npstat::CompositeDistribution1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_CompositeDistribution1D" "', argument " "1"" of type '" "gs::Reference< npstat::CompositeDistribution1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::CompositeDistribution1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_CompositeDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__CompositeDistribution1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_CompositeDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_JohnsonSu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
npstat::JohnsonSu *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_JohnsonSu", 4, 4, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_JohnsonSu" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_JohnsonSu" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonSu" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonSu" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::JohnsonSu *)new npstat::JohnsonSu(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSu, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::JohnsonSu *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_clone" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (npstat::JohnsonSu *)((npstat::JohnsonSu const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSu, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_JohnsonSu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_JohnsonSu" "', argument " "1"" of type '" "npstat::JohnsonSu *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_skewness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_skewness" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (double)((npstat::JohnsonSu const *)arg1)->skewness();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_kurtosis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_kurtosis" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (double)((npstat::JohnsonSu const *)arg1)->kurtosis();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_isValid" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (bool)((npstat::JohnsonSu const *)arg1)->isValid();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_getDelta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_getDelta" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (double)((npstat::JohnsonSu const *)arg1)->getDelta();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_getLambda(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_getLambda" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (double)((npstat::JohnsonSu const *)arg1)->getLambda();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_getGamma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_getGamma" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (double)((npstat::JohnsonSu const *)arg1)->getGamma();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_getXi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_getXi" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = (double)((npstat::JohnsonSu const *)arg1)->getXi();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_classId" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
{
try {
result = ((npstat::JohnsonSu const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = (npstat::JohnsonSu *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSu_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_write" "', argument " "1"" of type '" "npstat::JohnsonSu const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "JohnsonSu_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSu_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::JohnsonSu const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSu_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::JohnsonSu::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSu_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::JohnsonSu::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSu_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSu *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSu_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSu_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSu_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "JohnsonSu_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSu_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::JohnsonSu *)npstat::JohnsonSu::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSu, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *JohnsonSu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__JohnsonSu, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *JohnsonSu_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_JohnsonSb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
npstat::JohnsonSb *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_JohnsonSb", 4, 4, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_JohnsonSb" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_JohnsonSb" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonSb" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonSb" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::JohnsonSb *)new npstat::JohnsonSb(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSb, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::JohnsonSb *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_clone" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (npstat::JohnsonSb *)((npstat::JohnsonSb const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSb, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_JohnsonSb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_JohnsonSb" "', argument " "1"" of type '" "npstat::JohnsonSb *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_skewness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_skewness" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (double)((npstat::JohnsonSb const *)arg1)->skewness();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_kurtosis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_kurtosis" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (double)((npstat::JohnsonSb const *)arg1)->kurtosis();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_isValid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_isValid" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (bool)((npstat::JohnsonSb const *)arg1)->isValid();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_getDelta(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_getDelta" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (double)((npstat::JohnsonSb const *)arg1)->getDelta();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_getLambda(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_getLambda" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (double)((npstat::JohnsonSb const *)arg1)->getLambda();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_getGamma(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_getGamma" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (double)((npstat::JohnsonSb const *)arg1)->getGamma();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_getXi(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_getXi" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = (double)((npstat::JohnsonSb const *)arg1)->getXi();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_fitParameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double *arg3 = (double *) 0 ;
double *arg4 = (double *) 0 ;
double *arg5 = (double *) 0 ;
double *arg6 = (double *) 0 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSb_fitParameters", 6, 6, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "JohnsonSb_fitParameters" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "JohnsonSb_fitParameters" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "JohnsonSb_fitParameters" "', argument " "3"" of type '" "double *""'");
}
arg3 = reinterpret_cast< double * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "JohnsonSb_fitParameters" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "JohnsonSb_fitParameters" "', argument " "5"" of type '" "double *""'");
}
arg5 = reinterpret_cast< double * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "JohnsonSb_fitParameters" "', argument " "6"" of type '" "double *""'");
}
arg6 = reinterpret_cast< double * >(argp6);
{
try {
result = (bool)npstat::JohnsonSb::fitParameters(arg1,arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_classId" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
{
try {
result = ((npstat::JohnsonSb const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = (npstat::JohnsonSb *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSb_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_write" "', argument " "1"" of type '" "npstat::JohnsonSb const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "JohnsonSb_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSb_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::JohnsonSb const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSb_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::JohnsonSb::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSb_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::JohnsonSb::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSb_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSb *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSb_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSb_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSb_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "JohnsonSb_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSb_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::JohnsonSb *)npstat::JohnsonSb::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSb, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *JohnsonSb_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__JohnsonSb, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *JohnsonSb_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_JohnsonSystem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
npstat::JohnsonSystem *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_JohnsonSystem" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_JohnsonSystem" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonSystem" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonSystem" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::JohnsonSystem *)new npstat::JohnsonSystem(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_JohnsonSystem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::JohnsonSystem *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_JohnsonSystem" "', argument " "1"" of type '" "npstat::JohnsonSystem const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_JohnsonSystem" "', argument " "1"" of type '" "npstat::JohnsonSystem const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
result = (npstat::JohnsonSystem *)new npstat::JohnsonSystem((npstat::JohnsonSystem const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_JohnsonSystem(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_JohnsonSystem", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_JohnsonSystem__SWIG_1(self, argc, argv);
}
}
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_JohnsonSystem__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_JohnsonSystem'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::JohnsonSystem::JohnsonSystem(double,double,double,double)\n"
" npstat::JohnsonSystem::JohnsonSystem(npstat::JohnsonSystem const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_JohnsonSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_JohnsonSystem" "', argument " "1"" of type '" "npstat::JohnsonSystem *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::JohnsonSystem *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_clone" "', argument " "1"" of type '" "npstat::JohnsonSystem const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
result = (npstat::JohnsonSystem *)((npstat::JohnsonSystem const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_skewness(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_skewness" "', argument " "1"" of type '" "npstat::JohnsonSystem const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
result = (double)((npstat::JohnsonSystem const *)arg1)->skewness();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_kurtosis(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_kurtosis" "', argument " "1"" of type '" "npstat::JohnsonSystem const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
result = (double)((npstat::JohnsonSystem const *)arg1)->kurtosis();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_curveType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::JohnsonSystem::CurveType result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_curveType" "', argument " "1"" of type '" "npstat::JohnsonSystem const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
result = (npstat::JohnsonSystem::CurveType)((npstat::JohnsonSystem const *)arg1)->curveType();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSystem::CurveType result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSystem_select", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "JohnsonSystem_select" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "JohnsonSystem_select" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (npstat::JohnsonSystem::CurveType)npstat::JohnsonSystem::select(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_classId" "', argument " "1"" of type '" "npstat::JohnsonSystem const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
{
try {
result = ((npstat::JohnsonSystem const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = (npstat::JohnsonSystem *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSystem_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_write" "', argument " "1"" of type '" "npstat::JohnsonSystem const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "JohnsonSystem_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSystem_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::JohnsonSystem const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSystem_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::JohnsonSystem::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSystem_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::JohnsonSystem::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonSystem_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSystem *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "JohnsonSystem_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonSystem_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSystem_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "JohnsonSystem_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "JohnsonSystem_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::JohnsonSystem *)npstat::JohnsonSystem::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *JohnsonSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__JohnsonSystem, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *JohnsonSystem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_JohnsonSu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::JohnsonSu > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_JohnsonSu", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSu, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_JohnsonSu" "', argument " "1"" of type '" "npstat::JohnsonSu const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_JohnsonSu" "', argument " "1"" of type '" "npstat::JohnsonSu const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_JohnsonSu" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_JohnsonSu" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::JohnsonSu > *)new gs::ArchiveRecord< npstat::JohnsonSu >((npstat::JohnsonSu const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSu_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_JohnsonSu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::JohnsonSu > *arg1 = (gs::ArchiveRecord< npstat::JohnsonSu > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSu_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_JohnsonSu" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::JohnsonSu > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::JohnsonSu > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_JohnsonSu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSu_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_JohnsonSu_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_122(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::JohnsonSu *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::JohnsonSu > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSu, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::JohnsonSu const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::JohnsonSu const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSu * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::JohnsonSu >((npstat::JohnsonSu const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::JohnsonSu >(static_cast< const gs::ArchiveRecord< npstat::JohnsonSu >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSu_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSu__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::JohnsonSu > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_JohnsonSu" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::JohnsonSu > *)new gs::Reference< npstat::JohnsonSu >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSu__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::JohnsonSu > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_JohnsonSu" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_JohnsonSu" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::JohnsonSu > *)new gs::Reference< npstat::JohnsonSu >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSu__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::JohnsonSu > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_JohnsonSu" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSu" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_JohnsonSu" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSu" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::JohnsonSu > *)new gs::Reference< npstat::JohnsonSu >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSu(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_JohnsonSu", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_JohnsonSu__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_JohnsonSu__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_JohnsonSu__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_JohnsonSu'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::JohnsonSu >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::JohnsonSu >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::JohnsonSu >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSu_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSu > *arg1 = (gs::Reference< npstat::JohnsonSu > *) 0 ;
unsigned long arg2 ;
npstat::JohnsonSu *arg3 = (npstat::JohnsonSu *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSu_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSu_restore" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSu > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSu > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSu_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__JohnsonSu, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_JohnsonSu_restore" "', argument " "3"" of type '" "npstat::JohnsonSu *""'");
}
arg3 = reinterpret_cast< npstat::JohnsonSu * >(argp3);
{
try {
((gs::Reference< npstat::JohnsonSu > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSu_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSu > *arg1 = (gs::Reference< npstat::JohnsonSu > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSu *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSu_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSu_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSu > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSu > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSu_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::JohnsonSu *)gs_Reference_Sl_npstat_JohnsonSu_Sg__retrieve((gs::Reference< npstat::JohnsonSu > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSu, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSu_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSu > *arg1 = (gs::Reference< npstat::JohnsonSu > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::JohnsonSu > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSu_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSu_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSu > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSu > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSu_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_JohnsonSu_Sg__getValue((gs::Reference< npstat::JohnsonSu > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::JohnsonSu(static_cast< const npstat::JohnsonSu& >(result))), SWIGTYPE_p_npstat__JohnsonSu, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_JohnsonSu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSu > *arg1 = (gs::Reference< npstat::JohnsonSu > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_JohnsonSu" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSu > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSu > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_JohnsonSu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSu_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_JohnsonSu_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_JohnsonSb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::JohnsonSb > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_JohnsonSb", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSb, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_JohnsonSb" "', argument " "1"" of type '" "npstat::JohnsonSb const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_JohnsonSb" "', argument " "1"" of type '" "npstat::JohnsonSb const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_JohnsonSb" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_JohnsonSb" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::JohnsonSb > *)new gs::ArchiveRecord< npstat::JohnsonSb >((npstat::JohnsonSb const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSb_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_JohnsonSb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::JohnsonSb > *arg1 = (gs::ArchiveRecord< npstat::JohnsonSb > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSb_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_JohnsonSb" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::JohnsonSb > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::JohnsonSb > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_JohnsonSb_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSb_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_JohnsonSb_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_123(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::JohnsonSb *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::JohnsonSb > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSb, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::JohnsonSb const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::JohnsonSb const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSb * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::JohnsonSb >((npstat::JohnsonSb const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::JohnsonSb >(static_cast< const gs::ArchiveRecord< npstat::JohnsonSb >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSb_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSb__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::JohnsonSb > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_JohnsonSb" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::JohnsonSb > *)new gs::Reference< npstat::JohnsonSb >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSb__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::JohnsonSb > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_JohnsonSb" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_JohnsonSb" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::JohnsonSb > *)new gs::Reference< npstat::JohnsonSb >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSb__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::JohnsonSb > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_JohnsonSb" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSb" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_JohnsonSb" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSb" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::JohnsonSb > *)new gs::Reference< npstat::JohnsonSb >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSb(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_JohnsonSb", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_JohnsonSb__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_JohnsonSb__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_JohnsonSb__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_JohnsonSb'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::JohnsonSb >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::JohnsonSb >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::JohnsonSb >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSb_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSb > *arg1 = (gs::Reference< npstat::JohnsonSb > *) 0 ;
unsigned long arg2 ;
npstat::JohnsonSb *arg3 = (npstat::JohnsonSb *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSb_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSb_restore" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSb > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSb > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSb_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__JohnsonSb, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_JohnsonSb_restore" "', argument " "3"" of type '" "npstat::JohnsonSb *""'");
}
arg3 = reinterpret_cast< npstat::JohnsonSb * >(argp3);
{
try {
((gs::Reference< npstat::JohnsonSb > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSb_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSb > *arg1 = (gs::Reference< npstat::JohnsonSb > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSb *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSb_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSb_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSb > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSb > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSb_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::JohnsonSb *)gs_Reference_Sl_npstat_JohnsonSb_Sg__retrieve((gs::Reference< npstat::JohnsonSb > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSb, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSb_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSb > *arg1 = (gs::Reference< npstat::JohnsonSb > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::JohnsonSb > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSb_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSb_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSb > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSb > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSb_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_JohnsonSb_Sg__getValue((gs::Reference< npstat::JohnsonSb > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::JohnsonSb(static_cast< const npstat::JohnsonSb& >(result))), SWIGTYPE_p_npstat__JohnsonSb, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_JohnsonSb(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSb > *arg1 = (gs::Reference< npstat::JohnsonSb > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_JohnsonSb" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSb > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSb > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_JohnsonSb_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSb_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_JohnsonSb_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_JohnsonSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::JohnsonSystem > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_JohnsonSystem", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_JohnsonSystem" "', argument " "1"" of type '" "npstat::JohnsonSystem const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_JohnsonSystem" "', argument " "1"" of type '" "npstat::JohnsonSystem const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_JohnsonSystem" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_JohnsonSystem" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::JohnsonSystem > *)new gs::ArchiveRecord< npstat::JohnsonSystem >((npstat::JohnsonSystem const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSystem_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_JohnsonSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::JohnsonSystem > *arg1 = (gs::ArchiveRecord< npstat::JohnsonSystem > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSystem_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_JohnsonSystem" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::JohnsonSystem > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::JohnsonSystem > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_JohnsonSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSystem_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_JohnsonSystem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_124(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::JohnsonSystem *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::JohnsonSystem > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::JohnsonSystem const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::JohnsonSystem const &""'");
}
arg1 = reinterpret_cast< npstat::JohnsonSystem * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::JohnsonSystem >((npstat::JohnsonSystem const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::JohnsonSystem >(static_cast< const gs::ArchiveRecord< npstat::JohnsonSystem >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__JohnsonSystem_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSystem__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::JohnsonSystem > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_JohnsonSystem" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::JohnsonSystem > *)new gs::Reference< npstat::JohnsonSystem >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSystem__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::JohnsonSystem > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_JohnsonSystem" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_JohnsonSystem" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::JohnsonSystem > *)new gs::Reference< npstat::JohnsonSystem >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSystem__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::JohnsonSystem > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_JohnsonSystem" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSystem" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_JohnsonSystem" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_JohnsonSystem" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::JohnsonSystem > *)new gs::Reference< npstat::JohnsonSystem >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_JohnsonSystem(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_JohnsonSystem", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_JohnsonSystem__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_JohnsonSystem__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_JohnsonSystem__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_JohnsonSystem'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::JohnsonSystem >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::JohnsonSystem >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::JohnsonSystem >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSystem_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSystem > *arg1 = (gs::Reference< npstat::JohnsonSystem > *) 0 ;
unsigned long arg2 ;
npstat::JohnsonSystem *arg3 = (npstat::JohnsonSystem *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSystem_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSystem_restore" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSystem > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSystem > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSystem_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__JohnsonSystem, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_JohnsonSystem_restore" "', argument " "3"" of type '" "npstat::JohnsonSystem *""'");
}
arg3 = reinterpret_cast< npstat::JohnsonSystem * >(argp3);
{
try {
((gs::Reference< npstat::JohnsonSystem > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSystem_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSystem > *arg1 = (gs::Reference< npstat::JohnsonSystem > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::JohnsonSystem *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSystem_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSystem_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSystem > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSystem > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSystem_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::JohnsonSystem *)gs_Reference_Sl_npstat_JohnsonSystem_Sg__retrieve((gs::Reference< npstat::JohnsonSystem > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_JohnsonSystem_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSystem > *arg1 = (gs::Reference< npstat::JohnsonSystem > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::JohnsonSystem > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_JohnsonSystem_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_JohnsonSystem_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSystem > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSystem > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_JohnsonSystem_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_JohnsonSystem_Sg__getValue((gs::Reference< npstat::JohnsonSystem > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::JohnsonSystem(static_cast< const npstat::JohnsonSystem& >(result))), SWIGTYPE_p_npstat__JohnsonSystem, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_JohnsonSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::JohnsonSystem > *arg1 = (gs::Reference< npstat::JohnsonSystem > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_JohnsonSystem" "', argument " "1"" of type '" "gs::Reference< npstat::JohnsonSystem > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::JohnsonSystem > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_JohnsonSystem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__JohnsonSystem_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_JohnsonSystem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_CompositeGauss1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeGauss1D *arg1 = (npstat::CompositeGauss1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeGauss1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositeGauss1D" "', argument " "1"" of type '" "npstat::CompositeGauss1D *""'");
}
arg1 = reinterpret_cast< npstat::CompositeGauss1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CompositeGauss1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CompositeGauss1D *arg1 = (npstat::CompositeGauss1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::CompositeGauss1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CompositeGauss1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositeGauss1D_clone" "', argument " "1"" of type '" "npstat::CompositeGauss1D const *""'");
}
arg1 = reinterpret_cast< npstat::CompositeGauss1D * >(argp1);
{
try {
result = (npstat::CompositeGauss1D *)((npstat::CompositeGauss1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CompositeGauss1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CompositeGauss1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CompositeGauss1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_BetaGauss1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BetaGauss1D *arg1 = (npstat::BetaGauss1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BetaGauss1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BetaGauss1D" "', argument " "1"" of type '" "npstat::BetaGauss1D *""'");
}
arg1 = reinterpret_cast< npstat::BetaGauss1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BetaGauss1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BetaGauss1D *arg1 = (npstat::BetaGauss1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BetaGauss1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BetaGauss1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BetaGauss1D_clone" "', argument " "1"" of type '" "npstat::BetaGauss1D const *""'");
}
arg1 = reinterpret_cast< npstat::BetaGauss1D * >(argp1);
{
try {
result = (npstat::BetaGauss1D *)((npstat::BetaGauss1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BetaGauss1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *BetaGauss1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BetaGauss1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_LogQuadraticLadder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogQuadraticLadder *arg1 = (npstat::LogQuadraticLadder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogQuadraticLadder, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LogQuadraticLadder" "', argument " "1"" of type '" "npstat::LogQuadraticLadder *""'");
}
arg1 = reinterpret_cast< npstat::LogQuadraticLadder * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LogQuadraticLadder_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LogQuadraticLadder *arg1 = (npstat::LogQuadraticLadder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LogQuadraticLadder *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LogQuadraticLadder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LogQuadraticLadder_clone" "', argument " "1"" of type '" "npstat::LogQuadraticLadder const *""'");
}
arg1 = reinterpret_cast< npstat::LogQuadraticLadder * >(argp1);
{
try {
result = (npstat::LogQuadraticLadder *)((npstat::LogQuadraticLadder const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LogQuadraticLadder, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LogQuadraticLadder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LogQuadraticLadder, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_BinnedCompositeJohnson(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedCompositeJohnson *arg1 = (npstat::BinnedCompositeJohnson *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedCompositeJohnson, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BinnedCompositeJohnson" "', argument " "1"" of type '" "npstat::BinnedCompositeJohnson *""'");
}
arg1 = reinterpret_cast< npstat::BinnedCompositeJohnson * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_BinnedCompositeJohnson_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BinnedCompositeJohnson *arg1 = (npstat::BinnedCompositeJohnson *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::BinnedCompositeJohnson *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BinnedCompositeJohnson, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BinnedCompositeJohnson_clone" "', argument " "1"" of type '" "npstat::BinnedCompositeJohnson const *""'");
}
arg1 = reinterpret_cast< npstat::BinnedCompositeJohnson * >(argp1);
{
try {
result = (npstat::BinnedCompositeJohnson *)((npstat::BinnedCompositeJohnson const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BinnedCompositeJohnson, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *BinnedCompositeJohnson_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BinnedCompositeJohnson, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_JohnsonLadder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonLadder *arg1 = (npstat::JohnsonLadder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonLadder, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_JohnsonLadder" "', argument " "1"" of type '" "npstat::JohnsonLadder *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonLadder * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonLadder_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonLadder *arg1 = (npstat::JohnsonLadder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::JohnsonLadder *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonLadder, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonLadder_clone" "', argument " "1"" of type '" "npstat::JohnsonLadder const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonLadder * >(argp1);
{
try {
result = (npstat::JohnsonLadder *)((npstat::JohnsonLadder const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonLadder, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *JohnsonLadder_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__JohnsonLadder, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_lorpeMise1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
npstat::AbsDistribution1D *arg8 = 0 ;
npstat::BoundaryHandling *arg9 = 0 ;
unsigned int arg10 ;
double *arg11 = (double *) 0 ;
double *arg12 = (double *) 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
void *argp12 = 0 ;
int res12 = 0 ;
double result;
if ((nobjs < 12) || (nobjs > 12)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lorpeMise1D" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lorpeMise1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "lorpeMise1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "lorpeMise1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "lorpeMise1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "lorpeMise1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "lorpeMise1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
arg9 = reinterpret_cast< npstat::BoundaryHandling * >(argp9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "lorpeMise1D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "lorpeMise1D" "', argument " "11"" of type '" "double *""'");
}
arg11 = reinterpret_cast< double * >(argp11);
res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res12)) {
SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "lorpeMise1D" "', argument " "12"" of type '" "double *""'");
}
arg12 = reinterpret_cast< double * >(argp12);
{
try {
result = (double)npstat::lorpeMise1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(npstat::AbsDistribution1D const &)*arg8,(npstat::BoundaryHandling const &)*arg9,arg10,arg11,arg12);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_lorpeMise1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
npstat::AbsDistribution1D *arg8 = 0 ;
npstat::BoundaryHandling *arg9 = 0 ;
unsigned int arg10 ;
double *arg11 = (double *) 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
void *argp11 = 0 ;
int res11 = 0 ;
double result;
if ((nobjs < 11) || (nobjs > 11)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lorpeMise1D" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lorpeMise1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "lorpeMise1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "lorpeMise1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "lorpeMise1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "lorpeMise1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "lorpeMise1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
arg9 = reinterpret_cast< npstat::BoundaryHandling * >(argp9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "lorpeMise1D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res11)) {
SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "lorpeMise1D" "', argument " "11"" of type '" "double *""'");
}
arg11 = reinterpret_cast< double * >(argp11);
{
try {
result = (double)npstat::lorpeMise1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(npstat::AbsDistribution1D const &)*arg8,(npstat::BoundaryHandling const &)*arg9,arg10,arg11);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_lorpeMise1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
npstat::AbsDistribution1D *arg8 = 0 ;
npstat::BoundaryHandling *arg9 = 0 ;
unsigned int arg10 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
unsigned int val10 ;
int ecode10 = 0 ;
double result;
if ((nobjs < 10) || (nobjs > 10)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lorpeMise1D" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lorpeMise1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "lorpeMise1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "lorpeMise1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "lorpeMise1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "lorpeMise1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "lorpeMise1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
arg9 = reinterpret_cast< npstat::BoundaryHandling * >(argp9);
ecode10 = SWIG_AsVal_unsigned_SS_int(swig_obj[9], &val10);
if (!SWIG_IsOK(ecode10)) {
SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "lorpeMise1D" "', argument " "10"" of type '" "unsigned int""'");
}
arg10 = static_cast< unsigned int >(val10);
{
try {
result = (double)npstat::lorpeMise1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(npstat::AbsDistribution1D const &)*arg8,(npstat::BoundaryHandling const &)*arg9,arg10);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_lorpeMise1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
int arg1 ;
double arg2 ;
double arg3 ;
double arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
npstat::AbsDistribution1D *arg8 = 0 ;
npstat::BoundaryHandling *arg9 = 0 ;
int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
void *argp8 = 0 ;
int res8 = 0 ;
void *argp9 = 0 ;
int res9 = 0 ;
double result;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "lorpeMise1D" "', argument " "1"" of type '" "int""'");
}
arg1 = static_cast< int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lorpeMise1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "lorpeMise1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "lorpeMise1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "lorpeMise1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "lorpeMise1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "lorpeMise1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res8)) {
SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp8) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "8"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg8 = reinterpret_cast< npstat::AbsDistribution1D * >(argp8);
res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_npstat__BoundaryHandling, 0 | 0);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
if (!argp9) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "lorpeMise1D" "', argument " "9"" of type '" "npstat::BoundaryHandling const &""'");
}
arg9 = reinterpret_cast< npstat::BoundaryHandling * >(argp9);
{
try {
result = (double)npstat::lorpeMise1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(npstat::AbsDistribution1D const &)*arg8,(npstat::BoundaryHandling const &)*arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_lorpeMise1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[13] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "lorpeMise1D", 0, 12, argv))) SWIG_fail;
--argc;
if (argc == 9) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_lorpeMise1D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
if (argc == 10) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_lorpeMise1D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
if (argc == 11) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_lorpeMise1D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
if (argc == 12) {
int _v;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[7], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[8], 0, SWIGTYPE_p_npstat__BoundaryHandling, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[9], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[11], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_lorpeMise1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'lorpeMise1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::lorpeMise1D(int,double,double,double,unsigned int,double,double,npstat::AbsDistribution1D const &,npstat::BoundaryHandling const &,unsigned int,double *,double *)\n"
" npstat::lorpeMise1D(int,double,double,double,unsigned int,double,double,npstat::AbsDistribution1D const &,npstat::BoundaryHandling const &,unsigned int,double *)\n"
" npstat::lorpeMise1D(int,double,double,double,unsigned int,double,double,npstat::AbsDistribution1D const &,npstat::BoundaryHandling const &,unsigned int)\n"
" npstat::lorpeMise1D(int,double,double,double,unsigned int,double,double,npstat::AbsDistribution1D const &,npstat::BoundaryHandling const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_PowerTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = (npstat::PowerTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PowerTransform1D" "', argument " "1"" of type '" "npstat::PowerTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = (npstat::PowerTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::PowerTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerTransform1D_clone" "', argument " "1"" of type '" "npstat::PowerTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
{
try {
result = (npstat::PowerTransform1D *)((npstat::PowerTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = (npstat::PowerTransform1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "PowerTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerTransform1D_transformBack" "', argument " "1"" of type '" "npstat::PowerTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PowerTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::PowerTransform1D const *)arg1)->transformBack(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = (npstat::PowerTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::PowerTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
{
try {
result = (bool)((npstat::PowerTransform1D const *)arg1)->isIncreasing();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = (npstat::PowerTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerTransform1D_classId" "', argument " "1"" of type '" "npstat::PowerTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
{
try {
result = ((npstat::PowerTransform1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = (npstat::PowerTransform1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "PowerTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerTransform1D_write" "', argument " "1"" of type '" "npstat::PowerTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PowerTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::PowerTransform1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "PowerTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::PowerTransform1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "PowerTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::PowerTransform1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PowerTransform1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::PowerTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "PowerTransform1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PowerTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PowerTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PowerTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::PowerTransform1D *)npstat::PowerTransform1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *PowerTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__PowerTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_PowerTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::PowerTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_PowerTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_PowerTransform1D" "', argument " "1"" of type '" "npstat::PowerTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_PowerTransform1D" "', argument " "1"" of type '" "npstat::PowerTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_PowerTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_PowerTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::PowerTransform1D > *)new gs::ArchiveRecord< npstat::PowerTransform1D >((npstat::PowerTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_PowerTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::PowerTransform1D > *arg1 = (gs::ArchiveRecord< npstat::PowerTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_PowerTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::PowerTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::PowerTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_PowerTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_PowerTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_125(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::PowerTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::PowerTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::PowerTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::PowerTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::PowerTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::PowerTransform1D >((npstat::PowerTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::PowerTransform1D >(static_cast< const gs::ArchiveRecord< npstat::PowerTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__PowerTransform1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerTransform1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::PowerTransform1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_PowerTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::PowerTransform1D > *)new gs::Reference< npstat::PowerTransform1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerTransform1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::PowerTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_PowerTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_PowerTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::PowerTransform1D > *)new gs::Reference< npstat::PowerTransform1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerTransform1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::PowerTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_PowerTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_PowerTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_PowerTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::PowerTransform1D > *)new gs::Reference< npstat::PowerTransform1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_PowerTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_PowerTransform1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_PowerTransform1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_PowerTransform1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_PowerTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_PowerTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::PowerTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::PowerTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::PowerTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_PowerTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerTransform1D > *arg1 = (gs::Reference< npstat::PowerTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::PowerTransform1D *arg3 = (npstat::PowerTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::PowerTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__PowerTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_PowerTransform1D_restore" "', argument " "3"" of type '" "npstat::PowerTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::PowerTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::PowerTransform1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_PowerTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerTransform1D > *arg1 = (gs::Reference< npstat::PowerTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::PowerTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::PowerTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::PowerTransform1D *)gs_Reference_Sl_npstat_PowerTransform1D_Sg__retrieve((gs::Reference< npstat::PowerTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__PowerTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_PowerTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerTransform1D > *arg1 = (gs::Reference< npstat::PowerTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::PowerTransform1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_PowerTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_PowerTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::PowerTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_PowerTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_PowerTransform1D_Sg__getValue((gs::Reference< npstat::PowerTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::PowerTransform1D(static_cast< const npstat::PowerTransform1D& >(result))), SWIGTYPE_p_npstat__PowerTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_PowerTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::PowerTransform1D > *arg1 = (gs::Reference< npstat::PowerTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_PowerTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::PowerTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::PowerTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_PowerTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__PowerTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_PowerTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_UCharAbsBandwidthGCV1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< unsigned char,double > *arg1 = (npstat::AbsBandwidthGCV1D< unsigned char,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_unsigned_char_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharAbsBandwidthGCV1D" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< unsigned char,double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< unsigned char,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharAbsBandwidthGCV1D_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< unsigned char,double > *arg1 = (npstat::AbsBandwidthGCV1D< unsigned char,double > *) 0 ;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "UCharAbsBandwidthGCV1D_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_unsigned_char_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharAbsBandwidthGCV1D_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< unsigned char,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< unsigned char,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "UCharAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< unsigned char,double > const *)arg1)->cv((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilter1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharAbsBandwidthGCV1D_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< unsigned char,double > *arg1 = (npstat::AbsBandwidthGCV1D< unsigned char,double > *) 0 ;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "UCharAbsBandwidthGCV1D_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_unsigned_char_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharAbsBandwidthGCV1D_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< unsigned char,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< unsigned char,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharAbsBandwidthGCV1D_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "UCharAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< unsigned char,double > const *)arg1)->cvWeighted((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilter1D const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharAbsBandwidthGCV1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_unsigned_char_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_IntAbsBandwidthGCV1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< int,double > *arg1 = (npstat::AbsBandwidthGCV1D< int,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_int_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntAbsBandwidthGCV1D" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< int,double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< int,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntAbsBandwidthGCV1D_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< int,double > *arg1 = (npstat::AbsBandwidthGCV1D< int,double > *) 0 ;
npstat::HistoND< int,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "IntAbsBandwidthGCV1D_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_int_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntAbsBandwidthGCV1D_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< int,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< int,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "IntAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< int,double > const *)arg1)->cv((npstat::HistoND< int,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilter1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntAbsBandwidthGCV1D_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< int,double > *arg1 = (npstat::AbsBandwidthGCV1D< int,double > *) 0 ;
npstat::HistoND< int,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "IntAbsBandwidthGCV1D_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_int_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntAbsBandwidthGCV1D_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< int,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< int,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntAbsBandwidthGCV1D_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "IntAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< int,double > const *)arg1)->cvWeighted((npstat::HistoND< int,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilter1D const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntAbsBandwidthGCV1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_int_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_LongAbsBandwidthGCV1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< long,double > *arg1 = (npstat::AbsBandwidthGCV1D< long,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_long_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongAbsBandwidthGCV1D" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< long,double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< long,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongAbsBandwidthGCV1D_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< long,double > *arg1 = (npstat::AbsBandwidthGCV1D< long,double > *) 0 ;
npstat::HistoND< long,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LongAbsBandwidthGCV1D_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongAbsBandwidthGCV1D_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< long,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< long,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LongAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< long,double > const *)arg1)->cv((npstat::HistoND< long,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilter1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongAbsBandwidthGCV1D_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< long,double > *arg1 = (npstat::AbsBandwidthGCV1D< long,double > *) 0 ;
npstat::HistoND< long,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LongAbsBandwidthGCV1D_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_long_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongAbsBandwidthGCV1D_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< long,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< long,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongAbsBandwidthGCV1D_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LongAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< long,double > const *)arg1)->cvWeighted((npstat::HistoND< long,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilter1D const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongAbsBandwidthGCV1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_long_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_FloatAbsBandwidthGCV1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< float,double > *arg1 = (npstat::AbsBandwidthGCV1D< float,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_float_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatAbsBandwidthGCV1D" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< float,double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< float,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsBandwidthGCV1D_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< float,double > *arg1 = (npstat::AbsBandwidthGCV1D< float,double > *) 0 ;
npstat::HistoND< float,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsBandwidthGCV1D_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_float_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsBandwidthGCV1D_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< float,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< float,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< float,double > const *)arg1)->cv((npstat::HistoND< float,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilter1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsBandwidthGCV1D_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< float,double > *arg1 = (npstat::AbsBandwidthGCV1D< float,double > *) 0 ;
npstat::HistoND< float,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsBandwidthGCV1D_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_float_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsBandwidthGCV1D_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< float,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< float,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsBandwidthGCV1D_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< float,double > const *)arg1)->cvWeighted((npstat::HistoND< float,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilter1D const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatAbsBandwidthGCV1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_float_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleAbsBandwidthGCV1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< double,double > *arg1 = (npstat::AbsBandwidthGCV1D< double,double > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_double_double_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleAbsBandwidthGCV1D" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< double,double > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< double,double > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsBandwidthGCV1D_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< double,double > *arg1 = (npstat::AbsBandwidthGCV1D< double,double > *) 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsBandwidthGCV1D_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsBandwidthGCV1D_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCV1D_cv" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCV1D_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< double,double > const *)arg1)->cv((npstat::HistoND< double,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilter1D const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsBandwidthGCV1D_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCV1D< double,double > *arg1 = (npstat::AbsBandwidthGCV1D< double,double > *) 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilter1D *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsBandwidthGCV1D_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_double_double_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsBandwidthGCV1D_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCV1D< double,double > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCV1D< double,double > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCV1D_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsBandwidthGCV1D_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilter1D, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCV1D_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilter1D const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilter1D * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCV1D< double,double > const *)arg1)->cvWeighted((npstat::HistoND< double,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilter1D const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleAbsBandwidthGCV1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCV1DT_double_double_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_UCharAbsBandwidthGCVND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharAbsBandwidthGCVND" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharAbsBandwidthGCVND_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "UCharAbsBandwidthGCVND_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharAbsBandwidthGCVND_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "UCharAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > const *)arg1)->cv((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharAbsBandwidthGCVND_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "UCharAbsBandwidthGCVND_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharAbsBandwidthGCVND_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< unsigned char,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< unsigned char,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharAbsBandwidthGCVND_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "UCharAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< unsigned char,npstat::ArrayND< double > > const *)arg1)->cvWeighted((npstat::HistoND< unsigned char,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharAbsBandwidthGCVND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_IntAbsBandwidthGCVND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntAbsBandwidthGCVND" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntAbsBandwidthGCVND_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "IntAbsBandwidthGCVND_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntAbsBandwidthGCVND_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "IntAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > const *)arg1)->cv((npstat::HistoND< int,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntAbsBandwidthGCVND_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "IntAbsBandwidthGCVND_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntAbsBandwidthGCVND_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_int_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< int,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< int,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntAbsBandwidthGCVND_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "IntAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< int,npstat::ArrayND< double > > const *)arg1)->cvWeighted((npstat::HistoND< int,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntAbsBandwidthGCVND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_LongAbsBandwidthGCVND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongAbsBandwidthGCVND" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongAbsBandwidthGCVND_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LongAbsBandwidthGCVND_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongAbsBandwidthGCVND_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LongAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > const *)arg1)->cv((npstat::HistoND< long,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongAbsBandwidthGCVND_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LongAbsBandwidthGCVND_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongAbsBandwidthGCVND_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_long_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< long,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< long,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongAbsBandwidthGCVND_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LongAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< long,npstat::ArrayND< double > > const *)arg1)->cvWeighted((npstat::HistoND< long,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongAbsBandwidthGCVND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_FloatAbsBandwidthGCVND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatAbsBandwidthGCVND" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsBandwidthGCVND_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsBandwidthGCVND_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsBandwidthGCVND_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > const *)arg1)->cv((npstat::HistoND< float,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatAbsBandwidthGCVND_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "FloatAbsBandwidthGCVND_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatAbsBandwidthGCVND_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_float_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< float,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< float,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatAbsBandwidthGCVND_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< float,npstat::ArrayND< double > > const *)arg1)->cvWeighted((npstat::HistoND< float,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatAbsBandwidthGCVND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_delete_DoubleAbsBandwidthGCVND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleAbsBandwidthGCVND" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsBandwidthGCVND_cv(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = 0 ;
PyObject *arg3 = (PyObject *) 0 ;
PyObject *arg4 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
PyObject *swig_obj[5] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsBandwidthGCVND_cv", 5, 5, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsBandwidthGCVND_cv" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCVND_cv" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
arg3 = swig_obj[2];
arg4 = swig_obj[3];
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCVND_cv" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > const *)arg1)->cv((npstat::HistoND< double,npstat::HistoAxis > const &)*arg2,arg3,arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleAbsBandwidthGCVND_cvWeighted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *arg1 = (npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double,npstat::HistoAxis > *arg2 = 0 ;
double arg3 ;
PyObject *arg4 = (PyObject *) 0 ;
PyObject *arg5 = (PyObject *) 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
PyObject *swig_obj[6] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "DoubleAbsBandwidthGCVND_cvWeighted", 6, 6, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleAbsBandwidthGCVND_cvWeighted" "', argument " "1"" of type '" "npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_double_npstat__HistoAxis_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCVND_cvWeighted" "', argument " "2"" of type '" "npstat::HistoND< double,npstat::HistoAxis > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double,npstat::HistoAxis > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleAbsBandwidthGCVND_cvWeighted" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
arg4 = swig_obj[3];
arg5 = swig_obj[4];
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleAbsBandwidthGCVND_cvWeighted" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::AbsBandwidthGCVND< double,npstat::ArrayND< double > > const *)arg1)->cvWeighted((npstat::HistoND< double,npstat::HistoAxis > const &)*arg2,arg3,arg4,arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleAbsBandwidthGCVND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__AbsBandwidthGCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_johnsonIntegral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsDistribution1D *arg1 = 0 ;
npstat::Functor1< double,double > *arg2 = 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "johnsonIntegral", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "johnsonIntegral" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "johnsonIntegral" "', argument " "1"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg1 = reinterpret_cast< npstat::AbsDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__Functor1T_double_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "johnsonIntegral" "', argument " "2"" of type '" "npstat::Functor1< double,double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "johnsonIntegral" "', argument " "2"" of type '" "npstat::Functor1< double,double > const &""'");
}
arg2 = reinterpret_cast< npstat::Functor1< double,double > * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "johnsonIntegral" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)npstat::johnsonIntegral((npstat::AbsDistribution1D const &)*arg1,(npstat::Functor1< double,double > const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_InterpolatedDistribution1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int val1 ;
int ecode1 = 0 ;
npstat::InterpolatedDistribution1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_InterpolatedDistribution1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
{
try {
result = (npstat::InterpolatedDistribution1D *)new npstat::InterpolatedDistribution1D(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_InterpolatedDistribution1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::InterpolatedDistribution1D *)new npstat::InterpolatedDistribution1D();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistribution1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_InterpolatedDistribution1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[2] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_InterpolatedDistribution1D", 0, 1, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_InterpolatedDistribution1D__SWIG_1(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_InterpolatedDistribution1D__SWIG_0(self, argc, argv);
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_InterpolatedDistribution1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::InterpolatedDistribution1D::InterpolatedDistribution1D(unsigned int)\n"
" npstat::InterpolatedDistribution1D::InterpolatedDistribution1D()\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_InterpolatedDistribution1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_InterpolatedDistribution1D" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::InterpolatedDistribution1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_clone" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
{
try {
result = (npstat::InterpolatedDistribution1D *)((npstat::InterpolatedDistribution1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__InterpolatedDistribution1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_add" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "InterpolatedDistribution1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InterpolatedDistribution1D_add" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "InterpolatedDistribution1D_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->add((npstat::AbsDistribution1D const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
unsigned int arg2 ;
npstat::AbsDistribution1D *arg3 = 0 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_replace", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_replace" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_replace" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "InterpolatedDistribution1D_replace" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "InterpolatedDistribution1D_replace" "', argument " "3"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistribution1D * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "InterpolatedDistribution1D_replace" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->replace(arg2,(npstat::AbsDistribution1D const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_setWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_setWeight", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_setWeight" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_setWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "InterpolatedDistribution1D_setWeight" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setWeight(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_clear" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_normalizeAutomatically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_normalizeAutomatically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_normalizeAutomatically" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_normalizeAutomatically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->normalizeAutomatically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_size" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
{
try {
result = (unsigned int)((npstat::InterpolatedDistribution1D const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_expectedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_expectedSize" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
{
try {
result = (unsigned int)((npstat::InterpolatedDistribution1D const *)arg1)->expectedSize();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_density" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_density" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistribution1D const *)arg1)->density(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_cdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_cdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_cdf" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_cdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistribution1D const *)arg1)->cdf(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_exceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_exceedance", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_exceedance" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_exceedance" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistribution1D const *)arg1)->exceedance(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_quantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_quantile", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_quantile" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_quantile" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::InterpolatedDistribution1D const *)arg1)->quantile(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_densityAndCdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
double arg2 ;
double *arg3 = (double *) 0 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double temp3 ;
int res3 = SWIG_TMPOBJ ;
double temp4 ;
int res4 = SWIG_TMPOBJ ;
PyObject *swig_obj[2] ;
arg3 = &temp3;
arg4 = &temp4;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_densityAndCdf", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_densityAndCdf" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "InterpolatedDistribution1D_densityAndCdf" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
((npstat::InterpolatedDistribution1D const *)arg1)->densityAndCdf(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsTmpObj(res3)) {
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg3)));
} else {
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_double, new_flags));
}
if (SWIG_IsTmpObj(res4)) {
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_double((*arg4)));
} else {
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_double, new_flags));
}
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::InterpolatedDistribution1D *arg1 = (npstat::InterpolatedDistribution1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__InterpolatedDistribution1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "InterpolatedDistribution1D_classId" "', argument " "1"" of type '" "npstat::InterpolatedDistribution1D const *""'");
}
arg1 = reinterpret_cast< npstat::InterpolatedDistribution1D * >(argp1);
{
try {
result = ((npstat::InterpolatedDistribution1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::InterpolatedDistribution1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_InterpolatedDistribution1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "InterpolatedDistribution1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::InterpolatedDistribution1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *InterpolatedDistribution1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__InterpolatedDistribution1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *InterpolatedDistribution1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_CopulaInterpolationND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::CopulaInterpolationND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_CopulaInterpolationND", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CopulaInterpolationND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CopulaInterpolationND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::CopulaInterpolationND *)new npstat::CopulaInterpolationND(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CopulaInterpolationND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_CopulaInterpolationND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CopulaInterpolationND" "', argument " "1"" of type '" "npstat::CopulaInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::CopulaInterpolationND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_clone" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
try {
result = (npstat::CopulaInterpolationND *)((npstat::CopulaInterpolationND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__CopulaInterpolationND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
try {
result = (bool)((npstat::CopulaInterpolationND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_add" "', argument " "1"" of type '" "npstat::CopulaInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CopulaInterpolationND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CopulaInterpolationND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->add((npstat::AbsDistributionND const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
unsigned int arg2 ;
npstat::AbsDistributionND *arg3 = 0 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_replace", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_replace" "', argument " "1"" of type '" "npstat::CopulaInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_replace" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CopulaInterpolationND_replace" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CopulaInterpolationND_replace" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "CopulaInterpolationND_replace" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->replace(arg2,(npstat::AbsDistributionND const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_setWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_setWeight", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_setWeight" "', argument " "1"" of type '" "npstat::CopulaInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_setWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_setWeight" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setWeight(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_clear" "', argument " "1"" of type '" "npstat::CopulaInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_normalizeAutomatically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_normalizeAutomatically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_normalizeAutomatically" "', argument " "1"" of type '" "npstat::CopulaInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_normalizeAutomatically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->normalizeAutomatically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_size" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
try {
result = (unsigned int)((npstat::CopulaInterpolationND const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_density" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_unitMap" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CopulaInterpolationND_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CopulaInterpolationND_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::CopulaInterpolationND const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_copulaDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_copulaDensity", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_copulaDensity" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->copulaDensity((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_productOfTheMarginals(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_productOfTheMarginals", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_productOfTheMarginals" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->productOfTheMarginals((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_marginalDensity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_marginalDensity", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_marginalDensity" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_marginalDensity" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_marginalDensity" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->marginalDensity(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_marginalCdf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_marginalCdf", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_marginalCdf" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_marginalCdf" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_marginalCdf" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->marginalCdf(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_marginalExceedance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_marginalExceedance", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_marginalExceedance" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_marginalExceedance" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_marginalExceedance" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->marginalExceedance(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_marginalQuantile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_marginalQuantile", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_marginalQuantile" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CopulaInterpolationND_marginalQuantile" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CopulaInterpolationND_marginalQuantile" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::CopulaInterpolationND const *)arg1)->marginalQuantile(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::CopulaInterpolationND *arg1 = (npstat::CopulaInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__CopulaInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CopulaInterpolationND_classId" "', argument " "1"" of type '" "npstat::CopulaInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::CopulaInterpolationND * >(argp1);
{
try {
result = ((npstat::CopulaInterpolationND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::CopulaInterpolationND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_CopulaInterpolationND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "CopulaInterpolationND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::CopulaInterpolationND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *CopulaInterpolationND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__CopulaInterpolationND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *CopulaInterpolationND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_SeriesCGF1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
double *arg1 = (double *) 0 ;
unsigned int arg2 ;
double arg3 ;
double arg4 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[3] ;
npstat::SeriesCGF1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_SeriesCGF1D", 3, 3, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_DOUBLE,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (double*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeriesCGF1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeriesCGF1D" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (npstat::SeriesCGF1D *)new npstat::SeriesCGF1D((double const *)arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SeriesCGF1D, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::SeriesCGF1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_clone" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
{
try {
result = (npstat::SeriesCGF1D *)((npstat::SeriesCGF1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SeriesCGF1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_SeriesCGF1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeriesCGF1D" "', argument " "1"" of type '" "npstat::SeriesCGF1D *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_shiftAndScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
npstat::SeriesCGF1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "SeriesCGF1D_shiftAndScale", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_shiftAndScale" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeriesCGF1D_shiftAndScale" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeriesCGF1D_shiftAndScale" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::SeriesCGF1D *)((npstat::SeriesCGF1D const *)arg1)->shiftAndScale(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__SeriesCGF1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_smin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_smin" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
{
try {
result = (double)((npstat::SeriesCGF1D const *)arg1)->smin();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_smax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_smax" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
{
try {
result = (double)((npstat::SeriesCGF1D const *)arg1)->smax();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_derivative(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "SeriesCGF1D_derivative", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_derivative" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeriesCGF1D_derivative" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeriesCGF1D_derivative" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (double)((npstat::SeriesCGF1D const *)arg1)->derivative(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_setCumulant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "SeriesCGF1D_setCumulant", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_setCumulant" "', argument " "1"" of type '" "npstat::SeriesCGF1D *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeriesCGF1D_setCumulant" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeriesCGF1D_setCumulant" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setCumulant(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_maxOrder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_maxOrder" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
{
try {
result = (unsigned int)((npstat::SeriesCGF1D const *)arg1)->maxOrder();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_allCumulants(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< double,std::allocator< double > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_allCumulants" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
{
try {
result = (std::vector< double,std::allocator< double > > *) &((npstat::SeriesCGF1D const *)arg1)->allCumulants();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_isConvex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "SeriesCGF1D_isConvex", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_isConvex" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeriesCGF1D_isConvex" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeriesCGF1D_isConvex" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (bool)((npstat::SeriesCGF1D const *)arg1)->isConvex(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_SeriesCGF1D_convexify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::SeriesCGF1D *arg1 = (npstat::SeriesCGF1D *) 0 ;
double arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
SwigValueWrapper< npstat::SeriesCGF1D > result;
if (!SWIG_Python_UnpackTuple(args, "SeriesCGF1D_convexify", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__SeriesCGF1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeriesCGF1D_convexify" "', argument " "1"" of type '" "npstat::SeriesCGF1D const *""'");
}
arg1 = reinterpret_cast< npstat::SeriesCGF1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeriesCGF1D_convexify" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeriesCGF1D_convexify" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = ((npstat::SeriesCGF1D const *)arg1)->convexify(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::SeriesCGF1D(static_cast< const npstat::SeriesCGF1D& >(result))), SWIGTYPE_p_npstat__SeriesCGF1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *SeriesCGF1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__SeriesCGF1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *SeriesCGF1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_UCharBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UCharBandwidthGCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharBandwidthGCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< unsigned char > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< unsigned char > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharBandwidthGCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< unsigned char > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::ArrayND< double,1U,10U > *arg5 = 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< unsigned char > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< unsigned char > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UCharBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< unsigned char > const &)*arg2,arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::ArrayND< double,1U,10U > const &)*arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UCharBandwidthGCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "UCharBandwidthGCVLeastSquaresND___call__", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_UCharBandwidthGCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_unsigned_char_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_UCharBandwidthGCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharBandwidthGCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > >::operator ()(npstat::HistoND< unsigned char > const &,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > >::operator ()(npstat::HistoND< unsigned char > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_UCharBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UCharBandwidthGCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > > *)new npstat::BandwidthGCVLeastSquaresND< unsigned char,npstat::ArrayND< double > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UCharBandwidthGCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_unsigned_char_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UCharBandwidthGCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_IntBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IntBandwidthGCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntBandwidthGCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_int_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< int > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< int > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntBandwidthGCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< int > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::ArrayND< double,1U,10U > *arg5 = 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_int_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< int > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< int > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IntBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< int > const &)*arg2,arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::ArrayND< double,1U,10U > const &)*arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_IntBandwidthGCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "IntBandwidthGCVLeastSquaresND___call__", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_IntBandwidthGCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_int_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_IntBandwidthGCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'IntBandwidthGCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > >::operator ()(npstat::HistoND< int > const &,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > >::operator ()(npstat::HistoND< int > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_IntBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_IntBandwidthGCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > > *)new npstat::BandwidthGCVLeastSquaresND< int,npstat::ArrayND< double > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *IntBandwidthGCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_int_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *IntBandwidthGCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LongBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LongBandwidthGCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongBandwidthGCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_long_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< long > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< long > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongBandwidthGCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< long > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::ArrayND< double,1U,10U > *arg5 = 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_long_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< long > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< long > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LongBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< long > const &)*arg2,arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::ArrayND< double,1U,10U > const &)*arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LongBandwidthGCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "LongBandwidthGCVLeastSquaresND___call__", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongBandwidthGCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_long_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_LongBandwidthGCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'LongBandwidthGCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > >::operator ()(npstat::HistoND< long > const &,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > >::operator ()(npstat::HistoND< long > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_LongBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_LongBandwidthGCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > > *)new npstat::BandwidthGCVLeastSquaresND< long,npstat::ArrayND< double > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LongBandwidthGCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_long_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *LongBandwidthGCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_FloatBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatBandwidthGCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatBandwidthGCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< float > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< float > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatBandwidthGCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< float > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::ArrayND< double,1U,10U > *arg5 = 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_float_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< float > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< float > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< float > const &)*arg2,arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::ArrayND< double,1U,10U > const &)*arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_FloatBandwidthGCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "FloatBandwidthGCVLeastSquaresND___call__", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatBandwidthGCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_float_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_FloatBandwidthGCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'FloatBandwidthGCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > >::operator ()(npstat::HistoND< float > const &,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > >::operator ()(npstat::HistoND< float > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_FloatBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_FloatBandwidthGCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > > *)new npstat::BandwidthGCVLeastSquaresND< float,npstat::ArrayND< double > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *FloatBandwidthGCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_float_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *FloatBandwidthGCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_DoubleBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DoubleBandwidthGCVLeastSquaresND" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleBandwidthGCVLeastSquaresND___call____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
npstat::ArrayND< double,1U,10U > *arg3 = 0 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::AbsPolyFilterND *arg5 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double > * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg3 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg5 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp5);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< double > const &)*arg2,(npstat::ArrayND< double,1U,10U > const &)*arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::AbsPolyFilterND const &)*arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleBandwidthGCVLeastSquaresND___call____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *arg1 = (npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *) 0 ;
npstat::HistoND< double > *arg2 = 0 ;
double arg3 ;
npstat::ArrayND< double,1U,10U > *arg4 = 0 ;
npstat::ArrayND< double,1U,10U > *arg5 = 0 ;
npstat::AbsPolyFilterND *arg6 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
void *argp6 = 0 ;
int res6 = 0 ;
double result;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "1"" of type '" "npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > const *""'");
}
arg1 = reinterpret_cast< npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__HistoNDT_double_t, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "2"" of type '" "npstat::HistoND< double > const &""'");
}
arg2 = reinterpret_cast< npstat::HistoND< double > * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "4"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg4 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp4);
res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, 0 | 0);
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "5"" of type '" "npstat::ArrayND< double,1U,10U > const &""'");
}
arg5 = reinterpret_cast< npstat::ArrayND< double,1U,10U > * >(argp5);
res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_npstat__AbsPolyFilterND, 0 | 0);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
if (!argp6) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DoubleBandwidthGCVLeastSquaresND___call__" "', argument " "6"" of type '" "npstat::AbsPolyFilterND const &""'");
}
arg6 = reinterpret_cast< npstat::AbsPolyFilterND * >(argp6);
{
try {
result = (double)((npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > const *)arg1)->operator ()((npstat::HistoND< double > const &)*arg2,arg3,(npstat::ArrayND< double,1U,10U > const &)*arg4,(npstat::ArrayND< double,1U,10U > const &)*arg5,(npstat::AbsPolyFilterND const &)*arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_DoubleBandwidthGCVLeastSquaresND___call__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "DoubleBandwidthGCVLeastSquaresND___call__", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleBandwidthGCVLeastSquaresND___call____SWIG_0(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__HistoNDT_double_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[4], 0, SWIGTYPE_p_npstat__ArrayNDT_double_1U_10U_t, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[5], 0, SWIGTYPE_p_npstat__AbsPolyFilterND, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_DoubleBandwidthGCVLeastSquaresND___call____SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'DoubleBandwidthGCVLeastSquaresND___call__'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > >::operator ()(npstat::HistoND< double > const &,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n"
" npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > >::operator ()(npstat::HistoND< double > const &,double,npstat::ArrayND< double,1U,10U > const &,npstat::ArrayND< double,1U,10U > const &,npstat::AbsPolyFilterND const &) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_DoubleBandwidthGCVLeastSquaresND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_DoubleBandwidthGCVLeastSquaresND", 0, 0, 0)) SWIG_fail;
{
try {
result = (npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > > *)new npstat::BandwidthGCVLeastSquaresND< double,npstat::ArrayND< double > >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *DoubleBandwidthGCVLeastSquaresND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BandwidthGCVLeastSquaresNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *DoubleBandwidthGCVLeastSquaresND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmoother1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
bool arg8 ;
char *arg9 = (char *) 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
int res9 ;
char *buf9 = 0 ;
int alloc9 = 0 ;
npstat::ConstantBandwidthSmoother1D *result = 0 ;
if ((nobjs < 9) || (nobjs > 9)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
res9 = SWIG_AsCharPtrAndSize(swig_obj[8], &buf9, NULL, &alloc9);
if (!SWIG_IsOK(res9)) {
SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "9"" of type '" "char const *""'");
}
arg9 = reinterpret_cast< char * >(buf9);
{
try {
result = (npstat::ConstantBandwidthSmoother1D *)new npstat::ConstantBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,(char const *)arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
return resultobj;
fail:
if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmoother1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
bool arg8 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
bool val8 ;
int ecode8 = 0 ;
npstat::ConstantBandwidthSmoother1D *result = 0 ;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
ecode8 = SWIG_AsVal_bool(swig_obj[7], &val8);
if (!SWIG_IsOK(ecode8)) {
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "8"" of type '" "bool""'");
}
arg8 = static_cast< bool >(val8);
{
try {
result = (npstat::ConstantBandwidthSmoother1D *)new npstat::ConstantBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmoother1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int arg5 ;
double arg6 ;
double arg7 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
double val7 ;
int ecode7 = 0 ;
npstat::ConstantBandwidthSmoother1D *result = 0 ;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
ecode7 = SWIG_AsVal_double(swig_obj[6], &val7);
if (!SWIG_IsOK(ecode7)) {
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "7"" of type '" "double""'");
}
arg7 = static_cast< double >(val7);
{
try {
result = (npstat::ConstantBandwidthSmoother1D *)new npstat::ConstantBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmoother1D__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int arg5 ;
double arg6 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
double val6 ;
int ecode6 = 0 ;
npstat::ConstantBandwidthSmoother1D *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
ecode6 = SWIG_AsVal_double(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "6"" of type '" "double""'");
}
arg6 = static_cast< double >(val6);
{
try {
result = (npstat::ConstantBandwidthSmoother1D *)new npstat::ConstantBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmoother1D__SWIG_4(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int arg5 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
unsigned int val5 ;
int ecode5 = 0 ;
npstat::ConstantBandwidthSmoother1D *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ConstantBandwidthSmoother1D" "', argument " "5"" of type '" "unsigned int""'");
}
arg5 = static_cast< unsigned int >(val5);
{
try {
result = (npstat::ConstantBandwidthSmoother1D *)new npstat::ConstantBandwidthSmoother1D(arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_ConstantBandwidthSmoother1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[10] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_ConstantBandwidthSmoother1D", 0, 9, argv))) SWIG_fail;
--argc;
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ConstantBandwidthSmoother1D__SWIG_4(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ConstantBandwidthSmoother1D__SWIG_3(self, argc, argv);
}
}
}
}
}
}
}
if (argc == 7) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ConstantBandwidthSmoother1D__SWIG_2(self, argc, argv);
}
}
}
}
}
}
}
}
if (argc == 8) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_ConstantBandwidthSmoother1D__SWIG_1(self, argc, argv);
}
}
}
}
}
}
}
}
}
if (argc == 9) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[6], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[7], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[8], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_ConstantBandwidthSmoother1D__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_ConstantBandwidthSmoother1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::ConstantBandwidthSmoother1D::ConstantBandwidthSmoother1D(unsigned int,double,double,int,unsigned int,double,double,bool,char const *)\n"
" npstat::ConstantBandwidthSmoother1D::ConstantBandwidthSmoother1D(unsigned int,double,double,int,unsigned int,double,double,bool)\n"
" npstat::ConstantBandwidthSmoother1D::ConstantBandwidthSmoother1D(unsigned int,double,double,int,unsigned int,double,double)\n"
" npstat::ConstantBandwidthSmoother1D::ConstantBandwidthSmoother1D(unsigned int,double,double,int,unsigned int,double)\n"
" npstat::ConstantBandwidthSmoother1D::ConstantBandwidthSmoother1D(unsigned int,double,double,int,unsigned int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_ConstantBandwidthSmoother1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ConstantBandwidthSmoother1D" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_symbetaPower" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
result = (int)((npstat::ConstantBandwidthSmoother1D const *)arg1)->symbetaPower();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_kernelOrder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_kernelOrder" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
result = (unsigned int)((npstat::ConstantBandwidthSmoother1D const *)arg1)->kernelOrder();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_fixedBandwidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_fixedBandwidth" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
result = (double)((npstat::ConstantBandwidthSmoother1D const *)arg1)->fixedBandwidth();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_bwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_bwFactor" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
result = (double)((npstat::ConstantBandwidthSmoother1D const *)arg1)->bwFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_mirrorsData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_mirrorsData" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
result = (bool)((npstat::ConstantBandwidthSmoother1D const *)arg1)->mirrorsData();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_dataLen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_dataLen" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
{
try {
result = (unsigned int)((npstat::ConstantBandwidthSmoother1D const *)arg1)->dataLen();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_ConstantBandwidthSmoother1D_selfContribution(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::ConstantBandwidthSmoother1D *arg1 = (npstat::ConstantBandwidthSmoother1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "ConstantBandwidthSmoother1D_selfContribution", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConstantBandwidthSmoother1D_selfContribution" "', argument " "1"" of type '" "npstat::ConstantBandwidthSmoother1D const *""'");
}
arg1 = reinterpret_cast< npstat::ConstantBandwidthSmoother1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ConstantBandwidthSmoother1D_selfContribution" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::ConstantBandwidthSmoother1D const *)arg1)->selfContribution(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ConstantBandwidthSmoother1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__ConstantBandwidthSmoother1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ConstantBandwidthSmoother1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntry__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (npstat::GaussianMixtureEntry *)new npstat::GaussianMixtureEntry();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntry__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
double arg3 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
npstat::GaussianMixtureEntry *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GaussianMixtureEntry" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GaussianMixtureEntry" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_GaussianMixtureEntry" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
result = (npstat::GaussianMixtureEntry *)new npstat::GaussianMixtureEntry(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntry(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_GaussianMixtureEntry", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_GaussianMixtureEntry__SWIG_0(self, argc, argv);
}
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GaussianMixtureEntry__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_GaussianMixtureEntry'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::GaussianMixtureEntry::GaussianMixtureEntry()\n"
" npstat::GaussianMixtureEntry::GaussianMixtureEntry(double const,double const,double const)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_weight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry_weight" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
{
try {
result = (double)((npstat::GaussianMixtureEntry const *)arg1)->weight();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_mean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry_mean" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
{
try {
result = (double)((npstat::GaussianMixtureEntry const *)arg1)->mean();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_stdev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry_stdev" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
{
try {
result = (double)((npstat::GaussianMixtureEntry const *)arg1)->stdev();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
npstat::GaussianMixtureEntry *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntry___eq__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry___eq__" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntry___eq__" "', argument " "2"" of type '" "npstat::GaussianMixtureEntry const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntry___eq__" "', argument " "2"" of type '" "npstat::GaussianMixtureEntry const &""'");
}
arg2 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp2);
{
try {
result = (bool)((npstat::GaussianMixtureEntry const *)arg1)->operator ==((npstat::GaussianMixtureEntry const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
npstat::GaussianMixtureEntry *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntry___ne__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry___ne__" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntry___ne__" "', argument " "2"" of type '" "npstat::GaussianMixtureEntry const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntry___ne__" "', argument " "2"" of type '" "npstat::GaussianMixtureEntry const &""'");
}
arg2 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp2);
{
try {
result = (bool)((npstat::GaussianMixtureEntry const *)arg1)->operator !=((npstat::GaussianMixtureEntry const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
PyErr_Clear();
Py_INCREF(Py_NotImplemented);
return Py_NotImplemented;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry_classId" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
{
try {
result = ((npstat::GaussianMixtureEntry const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntry_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry_write" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntry_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntry_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::GaussianMixtureEntry const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntry_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::GaussianMixtureEntry::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntry_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::GaussianMixtureEntry::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntry_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
npstat::GaussianMixtureEntry *arg3 = (npstat::GaussianMixtureEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntry_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntry_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntry_restore" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntry_restore" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntry_restore" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GaussianMixtureEntry_restore" "', argument " "3"" of type '" "npstat::GaussianMixtureEntry *""'");
}
arg3 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp3);
{
try {
npstat::GaussianMixtureEntry::restore((gs::ClassId const &)*arg1,*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_GaussianMixtureEntry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixtureEntry *arg1 = (npstat::GaussianMixtureEntry *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GaussianMixtureEntry" "', argument " "1"" of type '" "npstat::GaussianMixtureEntry *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GaussianMixtureEntry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GaussianMixtureEntry_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
PyObject **arg2 = (PyObject **) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
swig::SwigPyIterator *result = 0 ;
arg2 = &swig_obj[0];
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_iterator" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (swig::SwigPyIterator *)std_vector_Sl_npstat_GaussianMixtureEntry_Sg__iterator(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___nonzero__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (bool)std_vector_Sl_npstat_GaussianMixtureEntry_Sg____nonzero__((std::vector< npstat::GaussianMixtureEntry > const *)arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___bool__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (bool)std_vector_Sl_npstat_GaussianMixtureEntry_Sg____bool__((std::vector< npstat::GaussianMixtureEntry > const *)arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::size_type result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___len__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = std_vector_Sl_npstat_GaussianMixtureEntry_Sg____len__((std::vector< npstat::GaussianMixtureEntry > const *)arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
ptrdiff_t val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector___getslice__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___getslice__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___getslice__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixtureEntryVector___getslice__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg3 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val3);
{
try {
try {
result = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *)std_vector_Sl_npstat_GaussianMixtureEntry_Sg____getslice__(arg1,arg2,arg3);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
ptrdiff_t val3 ;
int ecode3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg3 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val3);
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____setslice____SWIG_0(arg1,arg2,arg3);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg3 ;
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
ptrdiff_t val3 ;
int ecode3 = 0 ;
int res4 = SWIG_OLDOBJ ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg3 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val3);
{
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *ptr = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *)0;
res4 = swig::asptr(swig_obj[3], &ptr);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "4"" of type '" "std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector___setslice__" "', argument " "4"" of type '" "std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &""'");
}
arg4 = ptr;
}
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &)*arg4);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res4)) delete arg4;
return resultobj;
fail:
if (SWIG_IsNewObj(res4)) delete arg4;
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setslice__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector___setslice__", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector___setslice____SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[3], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixtureEntryVector___setslice____SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector___setslice__'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::__setslice__(std::vector< npstat::GaussianMixtureEntry >::difference_type,std::vector< npstat::GaussianMixtureEntry >::difference_type)\n"
" std::vector< npstat::GaussianMixtureEntry >::__setslice__(std::vector< npstat::GaussianMixtureEntry >::difference_type,std::vector< npstat::GaussianMixtureEntry >::difference_type,std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
ptrdiff_t val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector___delslice__", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___delslice__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___delslice__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixtureEntryVector___delslice__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg3 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val3);
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____delslice__(arg1,arg2,arg3);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___delitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___delitem__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____delitem____SWIG_0(arg1,arg2);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
PySliceObject *arg2 = (PySliceObject *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___getitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
if (!PySlice_Check(swig_obj[1])) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'");
}
arg2 = (PySliceObject *) swig_obj[1];
}
{
try {
try {
result = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *)std_vector_Sl_npstat_GaussianMixtureEntry_Sg____getitem____SWIG_0(arg1,arg2);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
PySliceObject *arg2 = (PySliceObject *) 0 ;
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res3 = SWIG_OLDOBJ ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
if (!PySlice_Check(swig_obj[1])) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
}
arg2 = (PySliceObject *) swig_obj[1];
}
{
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *ptr = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &""'");
}
arg3 = ptr;
}
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &)*arg3);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
PySliceObject *arg2 = (PySliceObject *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
if (!PySlice_Check(swig_obj[1])) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'");
}
arg2 = (PySliceObject *) swig_obj[1];
}
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____setitem____SWIG_1(arg1,arg2);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
PySliceObject *arg2 = (PySliceObject *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___delitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
if (!PySlice_Check(swig_obj[1])) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'");
}
arg2 = (PySliceObject *) swig_obj[1];
}
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____delitem____SWIG_1(arg1,arg2);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
} catch(std::invalid_argument &_e) {
SWIG_exception_fail(SWIG_ValueError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___delitem__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector___delitem__", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = PySlice_Check(argv[1]);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector___delitem____SWIG_1(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector___delitem____SWIG_0(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector___delitem__'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::__delitem__(std::vector< npstat::GaussianMixtureEntry >::difference_type)\n"
" std::vector< npstat::GaussianMixtureEntry >::__delitem__(PySliceObject *)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___getitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___getitem__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
{
try {
try {
result = (std::vector< npstat::GaussianMixtureEntry >::value_type *) &std_vector_Sl_npstat_GaussianMixtureEntry_Sg____getitem____SWIG_1((std::vector< npstat::GaussianMixtureEntry > const *)arg1,arg2);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
(void)swig::container_owner<swig::traits<std::vector< npstat::GaussianMixtureEntry >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___getitem__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector___getitem__", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = PySlice_Check(argv[1]);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector___getitem____SWIG_0(self, argc, argv);
}
}
}
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector___getitem____SWIG_1(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector___getitem__'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::__getitem__(PySliceObject *)\n"
" std::vector< npstat::GaussianMixtureEntry >::__getitem__(std::vector< npstat::GaussianMixtureEntry >::difference_type) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::difference_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
ptrdiff_t val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::difference_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::difference_type >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector___setitem__" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg3 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp3);
{
try {
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg____setitem____SWIG_2(arg1,arg2,(npstat::GaussianMixtureEntry const &)*arg3);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector___setitem__(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector___setitem__", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = PySlice_Check(argv[1]);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector___setitem____SWIG_1(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
_v = PySlice_Check(argv[1]);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixtureEntryVector___setitem____SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixtureEntryVector___setitem____SWIG_2(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector___setitem__'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::__setitem__(PySliceObject *,std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &)\n"
" std::vector< npstat::GaussianMixtureEntry >::__setitem__(PySliceObject *)\n"
" std::vector< npstat::GaussianMixtureEntry >::__setitem__(std::vector< npstat::GaussianMixtureEntry >::difference_type,std::vector< npstat::GaussianMixtureEntry >::value_type const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::value_type result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_pop" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
try {
result = std_vector_Sl_npstat_GaussianMixtureEntry_Sg__pop(arg1);
} catch(std::out_of_range &_e) {
SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
}
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new std::vector< npstat::GaussianMixtureEntry >::value_type(static_cast< const std::vector< npstat::GaussianMixtureEntry >::value_type& >(result))), SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_append", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_append" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntryVector_append" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_append" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg2 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp2);
{
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg__append(arg1,(npstat::GaussianMixtureEntry const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntryVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *result = 0 ;
if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
{
try {
result = (std::vector< npstat::GaussianMixtureEntry > *)new std::vector< npstat::GaussianMixtureEntry >();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntryVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = 0 ;
int res1 = SWIG_OLDOBJ ;
std::vector< npstat::GaussianMixtureEntry > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
{
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *ptr = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *)0;
res1 = swig::asptr(swig_obj[0], &ptr);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GaussianMixtureEntryVector" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GaussianMixtureEntryVector" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const &""'");
}
arg1 = ptr;
}
{
try {
result = (std::vector< npstat::GaussianMixtureEntry > *)new std::vector< npstat::GaussianMixtureEntry >((std::vector< npstat::GaussianMixtureEntry > const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res1)) delete arg1;
return resultobj;
fail:
if (SWIG_IsNewObj(res1)) delete arg1;
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_empty" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (bool)((std::vector< npstat::GaussianMixtureEntry > const *)arg1)->empty();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::size_type result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_size" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = ((std::vector< npstat::GaussianMixtureEntry > const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry > *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_swap", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_swap" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntryVector_swap" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry > &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_swap" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry > &""'");
}
arg2 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp2);
{
try {
(arg1)->swap(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_begin" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (arg1)->begin();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_end" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (arg1)->end();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::reverse_iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_rbegin" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (arg1)->rbegin();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::reverse_iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::reverse_iterator result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_rend" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (arg1)->rend();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::reverse_iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_clear" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< std::allocator< npstat::GaussianMixtureEntry > > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_get_allocator" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = ((std::vector< npstat::GaussianMixtureEntry > const *)arg1)->get_allocator();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new std::vector< npstat::GaussianMixtureEntry >::allocator_type(static_cast< const std::vector< npstat::GaussianMixtureEntry >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_npstat__GaussianMixtureEntry_t, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntryVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry >::size_type arg1 ;
size_t val1 ;
int ecode1 = 0 ;
std::vector< npstat::GaussianMixtureEntry > *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GaussianMixtureEntryVector" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg1 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val1);
{
try {
result = (std::vector< npstat::GaussianMixtureEntry > *)new std::vector< npstat::GaussianMixtureEntry >(arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_pop_back" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
(arg1)->pop_back();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::size_type arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_resize" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector_resize" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val2);
{
try {
(arg1)->resize(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::iterator arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
swig::SwigPyIterator *iter2 = 0 ;
int res2 ;
std::vector< npstat::GaussianMixtureEntry >::iterator result;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
if (!SWIG_IsOK(res2) || !iter2) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
} else {
swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter2);
if (iter_t) {
arg2 = iter_t->get_current();
} else {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
}
}
{
try {
result = std_vector_Sl_npstat_GaussianMixtureEntry_Sg__erase__SWIG_0(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::iterator arg2 ;
std::vector< npstat::GaussianMixtureEntry >::iterator arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
swig::SwigPyIterator *iter2 = 0 ;
int res2 ;
swig::SwigPyIterator *iter3 = 0 ;
int res3 ;
std::vector< npstat::GaussianMixtureEntry >::iterator result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
if (!SWIG_IsOK(res2) || !iter2) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
} else {
swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter2);
if (iter_t) {
arg2 = iter_t->get_current();
} else {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
}
}
res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
if (!SWIG_IsOK(res3) || !iter3) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
} else {
swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter3);
if (iter_t) {
arg3 = iter_t->get_current();
} else {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_erase" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
}
}
{
try {
result = std_vector_Sl_npstat_GaussianMixtureEntry_Sg__erase__SWIG_1(arg1,arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_erase(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_erase", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
swig::SwigPyIterator *iter = 0;
int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
_v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter) != 0));
if (_v) {
return _wrap_GaussianMixtureEntryVector_erase__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
swig::SwigPyIterator *iter = 0;
int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
_v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter) != 0));
if (_v) {
swig::SwigPyIterator *iter = 0;
int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
_v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter) != 0));
if (_v) {
return _wrap_GaussianMixtureEntryVector_erase__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector_erase'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::erase(std::vector< npstat::GaussianMixtureEntry >::iterator)\n"
" std::vector< npstat::GaussianMixtureEntry >::erase(std::vector< npstat::GaussianMixtureEntry >::iterator,std::vector< npstat::GaussianMixtureEntry >::iterator)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntryVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry >::size_type arg1 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg2 = 0 ;
size_t val1 ;
int ecode1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
std::vector< npstat::GaussianMixtureEntry > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GaussianMixtureEntryVector" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg1 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_GaussianMixtureEntryVector" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GaussianMixtureEntryVector" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg2 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp2);
{
try {
result = (std::vector< npstat::GaussianMixtureEntry > *)new std::vector< npstat::GaussianMixtureEntry >(arg1,(std::vector< npstat::GaussianMixtureEntry >::value_type const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixtureEntryVector(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[3] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_GaussianMixtureEntryVector", 0, 2, argv))) SWIG_fail;
--argc;
if (argc == 0) {
return _wrap_new_GaussianMixtureEntryVector__SWIG_0(self, argc, argv);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_size_t(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GaussianMixtureEntryVector__SWIG_2(self, argc, argv);
}
}
if (argc == 1) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GaussianMixtureEntryVector__SWIG_1(self, argc, argv);
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_size_t(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GaussianMixtureEntryVector__SWIG_3(self, argc, argv);
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_GaussianMixtureEntryVector'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::vector()\n"
" std::vector< npstat::GaussianMixtureEntry >::vector(std::vector< npstat::GaussianMixtureEntry > const &)\n"
" std::vector< npstat::GaussianMixtureEntry >::vector(std::vector< npstat::GaussianMixtureEntry >::size_type)\n"
" std::vector< npstat::GaussianMixtureEntry >::vector(std::vector< npstat::GaussianMixtureEntry >::size_type,std::vector< npstat::GaussianMixtureEntry >::value_type const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_push_back", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_push_back" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixtureEntryVector_push_back" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_push_back" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg2 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp2);
{
try {
(arg1)->push_back((std::vector< npstat::GaussianMixtureEntry >::value_type const &)*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::value_type *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_front" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (std::vector< npstat::GaussianMixtureEntry >::value_type *) &((std::vector< npstat::GaussianMixtureEntry > const *)arg1)->front();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
(void)swig::container_owner<swig::traits<std::vector< npstat::GaussianMixtureEntry >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::value_type *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_back" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = (std::vector< npstat::GaussianMixtureEntry >::value_type *) &((std::vector< npstat::GaussianMixtureEntry > const *)arg1)->back();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
(void)swig::container_owner<swig::traits<std::vector< npstat::GaussianMixtureEntry >::value_type>::category>::back_reference(resultobj, swig_obj[0]);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::size_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_assign", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_assign" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector_assign" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GaussianMixtureEntryVector_assign" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_assign" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg3 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp3);
{
try {
(arg1)->assign(arg2,(std::vector< npstat::GaussianMixtureEntry >::value_type const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::size_type arg2 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_resize" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector_resize" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GaussianMixtureEntryVector_resize" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_resize" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg3 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp3);
{
try {
(arg1)->resize(arg2,(std::vector< npstat::GaussianMixtureEntry >::value_type const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_resize(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_resize", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_GaussianMixtureEntryVector_resize__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixtureEntryVector_resize__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector_resize'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::resize(std::vector< npstat::GaussianMixtureEntry >::size_type)\n"
" std::vector< npstat::GaussianMixtureEntry >::resize(std::vector< npstat::GaussianMixtureEntry >::size_type,std::vector< npstat::GaussianMixtureEntry >::value_type const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::iterator arg2 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
swig::SwigPyIterator *iter2 = 0 ;
int res2 ;
void *argp3 = 0 ;
int res3 = 0 ;
std::vector< npstat::GaussianMixtureEntry >::iterator result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
if (!SWIG_IsOK(res2) || !iter2) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
} else {
swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter2);
if (iter_t) {
arg2 = iter_t->get_current();
} else {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
}
}
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_insert" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg3 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp3);
{
try {
result = std_vector_Sl_npstat_GaussianMixtureEntry_Sg__insert__SWIG_0(arg1,arg2,(npstat::GaussianMixtureEntry const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< npstat::GaussianMixtureEntry >::iterator & >(result)),
swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::iterator arg2 ;
std::vector< npstat::GaussianMixtureEntry >::size_type arg3 ;
std::vector< npstat::GaussianMixtureEntry >::value_type *arg4 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
swig::SwigPyIterator *iter2 = 0 ;
int res2 ;
size_t val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
if (!SWIG_IsOK(res2) || !iter2) {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
} else {
swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *iter_t = dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter2);
if (iter_t) {
arg2 = iter_t->get_current();
} else {
SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::iterator""'");
}
}
ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg3 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0);
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GaussianMixtureEntryVector_insert" "', argument " "4"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixtureEntryVector_insert" "', argument " "4"" of type '" "std::vector< npstat::GaussianMixtureEntry >::value_type const &""'");
}
arg4 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry >::value_type * >(argp4);
{
try {
std_vector_Sl_npstat_GaussianMixtureEntry_Sg__insert__SWIG_1(arg1,arg2,arg3,(npstat::GaussianMixtureEntry const &)*arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_insert(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_insert", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
swig::SwigPyIterator *iter = 0;
int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
_v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter) != 0));
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixtureEntryVector_insert__SWIG_0(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
int res = swig::asptr(argv[0], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
swig::SwigPyIterator *iter = 0;
int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
_v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< npstat::GaussianMixtureEntry >::iterator > *>(iter) != 0));
if (_v) {
{
int res = SWIG_AsVal_size_t(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_ConvertPtr(argv[3], 0, SWIGTYPE_p_npstat__GaussianMixtureEntry, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixtureEntryVector_insert__SWIG_1(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixtureEntryVector_insert'.\n"
" Possible C/C++ prototypes are:\n"
" std::vector< npstat::GaussianMixtureEntry >::insert(std::vector< npstat::GaussianMixtureEntry >::iterator,std::vector< npstat::GaussianMixtureEntry >::value_type const &)\n"
" std::vector< npstat::GaussianMixtureEntry >::insert(std::vector< npstat::GaussianMixtureEntry >::iterator,std::vector< npstat::GaussianMixtureEntry >::size_type,std::vector< npstat::GaussianMixtureEntry >::value_type const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
std::vector< npstat::GaussianMixtureEntry >::size_type arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixtureEntryVector_reserve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_reserve" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixtureEntryVector_reserve" "', argument " "2"" of type '" "std::vector< npstat::GaussianMixtureEntry >::size_type""'");
}
arg2 = static_cast< std::vector< npstat::GaussianMixtureEntry >::size_type >(val2);
{
try {
(arg1)->reserve(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixtureEntryVector_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry >::size_type result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixtureEntryVector_capacity" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > const *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
result = ((std::vector< npstat::GaussianMixtureEntry > const *)arg1)->capacity();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_GaussianMixtureEntryVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
std::vector< npstat::GaussianMixtureEntry > *arg1 = (std::vector< npstat::GaussianMixtureEntry > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GaussianMixtureEntryVector" "', argument " "1"" of type '" "std::vector< npstat::GaussianMixtureEntry > *""'");
}
arg1 = reinterpret_cast< std::vector< npstat::GaussianMixtureEntry > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GaussianMixtureEntryVector_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_std__vectorT_npstat__GaussianMixtureEntry_std__allocatorT_npstat__GaussianMixtureEntry_t_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GaussianMixtureEntryVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_GaussianMixture1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
npstat::GaussianMixtureEntry *arg3 = (npstat::GaussianMixtureEntry *) 0 ;
unsigned int arg4 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
npstat::GaussianMixture1D *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GaussianMixture1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GaussianMixture1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GaussianMixture1D" "', argument " "3"" of type '" "npstat::GaussianMixtureEntry const *""'");
}
arg3 = reinterpret_cast< npstat::GaussianMixtureEntry * >(argp3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_GaussianMixture1D" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
{
try {
result = (npstat::GaussianMixture1D *)new npstat::GaussianMixture1D(arg1,arg2,(npstat::GaussianMixtureEntry const *)arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixture1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
double arg1 ;
double arg2 ;
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *arg3 = 0 ;
double val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
int res3 = SWIG_OLDOBJ ;
npstat::GaussianMixture1D *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
ecode1 = SWIG_AsVal_double(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_GaussianMixture1D" "', argument " "1"" of type '" "double""'");
}
arg1 = static_cast< double >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GaussianMixture1D" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *ptr = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *)0;
res3 = swig::asptr(swig_obj[2], &ptr);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_GaussianMixture1D" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &""'");
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GaussianMixture1D" "', argument " "3"" of type '" "std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &""'");
}
arg3 = ptr;
}
{
try {
result = (npstat::GaussianMixture1D *)new npstat::GaussianMixture1D(arg1,arg2,(std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_POINTER_NEW | 0 );
if (SWIG_IsNewObj(res3)) delete arg3;
return resultobj;
fail:
if (SWIG_IsNewObj(res3)) delete arg3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixture1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::Gauss1D *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
npstat::GaussianMixture1D *result = 0 ;
if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__Gauss1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GaussianMixture1D" "', argument " "1"" of type '" "npstat::Gauss1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_GaussianMixture1D" "', argument " "1"" of type '" "npstat::Gauss1D const &""'");
}
arg1 = reinterpret_cast< npstat::Gauss1D * >(argp1);
{
try {
result = (npstat::GaussianMixture1D *)new npstat::GaussianMixture1D((npstat::Gauss1D const &)*arg1);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_GaussianMixture1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_GaussianMixture1D", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 1) {
int _v;
int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_npstat__Gauss1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GaussianMixture1D__SWIG_2(self, argc, argv);
}
}
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = swig::asptr(argv[2], (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > >**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_GaussianMixture1D__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_npstat__GaussianMixtureEntry, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_GaussianMixture1D__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_GaussianMixture1D'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::GaussianMixture1D::GaussianMixture1D(double,double,npstat::GaussianMixtureEntry const *,unsigned int)\n"
" npstat::GaussianMixture1D::GaussianMixture1D(double,double,std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > const &)\n"
" npstat::GaussianMixture1D::GaussianMixture1D(npstat::Gauss1D const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_GaussianMixture1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_GaussianMixture1D" "', argument " "1"" of type '" "npstat::GaussianMixture1D *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::GaussianMixture1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_clone" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
result = (npstat::GaussianMixture1D *)((npstat::GaussianMixture1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_nentries(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_nentries" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
result = (unsigned int)((npstat::GaussianMixture1D const *)arg1)->nentries();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_entry(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GaussianMixtureEntry *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixture1D_entry", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_entry" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixture1D_entry" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::GaussianMixtureEntry *) &((npstat::GaussianMixture1D const *)arg1)->entry(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixtureEntry, 0 | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_entries(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_entries" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
result = (std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > *) &((npstat::GaussianMixture1D const *)arg1)->entries();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = swig::from(static_cast< std::vector< npstat::GaussianMixtureEntry,std::allocator< npstat::GaussianMixtureEntry > > >(*result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_mean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_mean" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
result = (double)((npstat::GaussianMixture1D const *)arg1)->mean();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_stdev(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_stdev" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
result = (double)((npstat::GaussianMixture1D const *)arg1)->stdev();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_gaussianMISE(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned long arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned long val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixture1D_gaussianMISE", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_gaussianMISE" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixture1D_gaussianMISE" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixture1D_gaussianMISE" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_long(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "GaussianMixture1D_gaussianMISE" "', argument " "4"" of type '" "unsigned long""'");
}
arg4 = static_cast< unsigned long >(val4);
{
try {
result = (double)((npstat::GaussianMixture1D const *)arg1)->gaussianMISE(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_miseOptimalBw__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
unsigned int arg2 ;
unsigned long arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
result = (double)((npstat::GaussianMixture1D const *)arg1)->miseOptimalBw(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_miseOptimalBw__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
unsigned int arg2 ;
unsigned long arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
double result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GaussianMixture1D_miseOptimalBw" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
{
try {
result = (double)((npstat::GaussianMixture1D const *)arg1)->miseOptimalBw(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_miseOptimalBw(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[5] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "GaussianMixture1D_miseOptimalBw", 0, 4, argv))) SWIG_fail;
--argc;
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__GaussianMixture1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_GaussianMixture1D_miseOptimalBw__SWIG_1(self, argc, argv);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__GaussianMixture1D, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_double, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_GaussianMixture1D_miseOptimalBw__SWIG_0(self, argc, argv);
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'GaussianMixture1D_miseOptimalBw'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::GaussianMixture1D::miseOptimalBw(unsigned int,unsigned long,double *) const\n"
" npstat::GaussianMixture1D::miseOptimalBw(unsigned int,unsigned long) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_classId" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
{
try {
result = ((npstat::GaussianMixture1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::GaussianMixture1D *arg1 = (npstat::GaussianMixture1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixture1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__GaussianMixture1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_write" "', argument " "1"" of type '" "npstat::GaussianMixture1D const *""'");
}
arg1 = reinterpret_cast< npstat::GaussianMixture1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixture1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixture1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::GaussianMixture1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixture1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::GaussianMixture1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixture1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::GaussianMixture1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_GaussianMixture1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::GaussianMixture1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "GaussianMixture1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GaussianMixture1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixture1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GaussianMixture1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GaussianMixture1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::GaussianMixture1D *)npstat::GaussianMixture1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *GaussianMixture1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__GaussianMixture1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *GaussianMixture1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_JohnsonKDESmoother__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
double arg5 ;
char *arg6 = (char *) 0 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
int res6 ;
char *buf6 = 0 ;
int alloc6 = 0 ;
npstat::JohnsonKDESmoother *result = 0 ;
if ((nobjs < 6) || (nobjs > 6)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_JohnsonKDESmoother" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_JohnsonKDESmoother" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonKDESmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonKDESmoother" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_JohnsonKDESmoother" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
res6 = SWIG_AsCharPtrAndSize(swig_obj[5], &buf6, NULL, &alloc6);
if (!SWIG_IsOK(res6)) {
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_JohnsonKDESmoother" "', argument " "6"" of type '" "char const *""'");
}
arg6 = reinterpret_cast< char * >(buf6);
{
try {
result = (npstat::JohnsonKDESmoother *)new npstat::JohnsonKDESmoother(arg1,arg2,arg3,arg4,arg5,(char const *)arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonKDESmoother, SWIG_POINTER_NEW | 0 );
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
return resultobj;
fail:
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_JohnsonKDESmoother__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
double arg5 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
npstat::JohnsonKDESmoother *result = 0 ;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_JohnsonKDESmoother" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_JohnsonKDESmoother" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonKDESmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonKDESmoother" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_JohnsonKDESmoother" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
{
try {
result = (npstat::JohnsonKDESmoother *)new npstat::JohnsonKDESmoother(arg1,arg2,arg3,arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonKDESmoother, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_JohnsonKDESmoother__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
unsigned int arg1 ;
double arg2 ;
double arg3 ;
int arg4 ;
unsigned int val1 ;
int ecode1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
int val4 ;
int ecode4 = 0 ;
npstat::JohnsonKDESmoother *result = 0 ;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_JohnsonKDESmoother" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_JohnsonKDESmoother" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_JohnsonKDESmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_JohnsonKDESmoother" "', argument " "4"" of type '" "int""'");
}
arg4 = static_cast< int >(val4);
{
try {
result = (npstat::JohnsonKDESmoother *)new npstat::JohnsonKDESmoother(arg1,arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__JohnsonKDESmoother, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_JohnsonKDESmoother(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[7] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_JohnsonKDESmoother", 0, 6, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_JohnsonKDESmoother__SWIG_2(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_JohnsonKDESmoother__SWIG_1(self, argc, argv);
}
}
}
}
}
}
if (argc == 6) {
int _v;
{
int res = SWIG_AsVal_unsigned_SS_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[5], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_JohnsonKDESmoother__SWIG_0(self, argc, argv);
}
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_JohnsonKDESmoother'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::JohnsonKDESmoother::JohnsonKDESmoother(unsigned int,double,double,int,double,char const *)\n"
" npstat::JohnsonKDESmoother::JohnsonKDESmoother(unsigned int,double,double,int,double)\n"
" npstat::JohnsonKDESmoother::JohnsonKDESmoother(unsigned int,double,double,int)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_delete_JohnsonKDESmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonKDESmoother *arg1 = (npstat::JohnsonKDESmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonKDESmoother, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_JohnsonKDESmoother" "', argument " "1"" of type '" "npstat::JohnsonKDESmoother *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonKDESmoother * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonKDESmoother_symbetaPower(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonKDESmoother *arg1 = (npstat::JohnsonKDESmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonKDESmoother, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonKDESmoother_symbetaPower" "', argument " "1"" of type '" "npstat::JohnsonKDESmoother const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonKDESmoother * >(argp1);
{
try {
result = (int)((npstat::JohnsonKDESmoother const *)arg1)->symbetaPower();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_JohnsonKDESmoother_bwFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::JohnsonKDESmoother *arg1 = (npstat::JohnsonKDESmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__JohnsonKDESmoother, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "JohnsonKDESmoother_bwFactor" "', argument " "1"" of type '" "npstat::JohnsonKDESmoother const *""'");
}
arg1 = reinterpret_cast< npstat::JohnsonKDESmoother * >(argp1);
{
try {
result = (double)((npstat::JohnsonKDESmoother const *)arg1)->bwFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *JohnsonKDESmoother_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__JohnsonKDESmoother, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *JohnsonKDESmoother_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_UnitMapInterpolationND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int arg1 ;
unsigned int arg2 ;
unsigned int val1 ;
int ecode1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::UnitMapInterpolationND *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_UnitMapInterpolationND", 2, 2, swig_obj)) SWIG_fail;
ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1);
if (!SWIG_IsOK(ecode1)) {
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_UnitMapInterpolationND" "', argument " "1"" of type '" "unsigned int""'");
}
arg1 = static_cast< unsigned int >(val1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_UnitMapInterpolationND" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (npstat::UnitMapInterpolationND *)new npstat::UnitMapInterpolationND(arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UnitMapInterpolationND, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_UnitMapInterpolationND(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_UnitMapInterpolationND" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::UnitMapInterpolationND *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_clone" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
try {
result = (npstat::UnitMapInterpolationND *)((npstat::UnitMapInterpolationND const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__UnitMapInterpolationND, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_mappedByQuantiles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_mappedByQuantiles" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
try {
result = (bool)((npstat::UnitMapInterpolationND const *)arg1)->mappedByQuantiles();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
npstat::AbsDistributionND *arg2 = 0 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_add", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_add" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UnitMapInterpolationND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UnitMapInterpolationND_add" "', argument " "2"" of type '" "npstat::AbsDistributionND const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistributionND * >(argp2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UnitMapInterpolationND_add" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->add((npstat::AbsDistributionND const &)*arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
unsigned int arg2 ;
npstat::AbsDistributionND *arg3 = 0 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_replace", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_replace" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UnitMapInterpolationND_replace" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_npstat__AbsDistributionND, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "UnitMapInterpolationND_replace" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "UnitMapInterpolationND_replace" "', argument " "3"" of type '" "npstat::AbsDistributionND const &""'");
}
arg3 = reinterpret_cast< npstat::AbsDistributionND * >(argp3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "UnitMapInterpolationND_replace" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
(arg1)->replace(arg2,(npstat::AbsDistributionND const &)*arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_setWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
unsigned int arg2 ;
double arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_setWeight", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_setWeight" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UnitMapInterpolationND_setWeight" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UnitMapInterpolationND_setWeight" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
try {
(arg1)->setWeight(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_clear" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
try {
(arg1)->clear();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_normalizeAutomatically(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_normalizeAutomatically", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_normalizeAutomatically" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "UnitMapInterpolationND_normalizeAutomatically" "', argument " "2"" of type '" "bool""'");
}
arg2 = static_cast< bool >(val2);
{
try {
(arg1)->normalizeAutomatically(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
unsigned int result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_size" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
try {
result = (unsigned int)((npstat::UnitMapInterpolationND const *)arg1)->size();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_density(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyArrayObject *array2 = NULL ;
int is_new_object2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_density", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_density" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
npy_intp size[1] = {
-1
};
array2 = obj_to_array_contiguous_allow_conversion(swig_obj[1],
NPY_DOUBLE,
&is_new_object2);
if (!array2 || !require_dimensions(array2, 1) ||
!require_size(array2, size, 1)) SWIG_fail;
arg2 = (double*) array_data(array2);
arg3 = (int) array_size(array2,0);
}
{
try {
result = (double)((npstat::UnitMapInterpolationND const *)arg1)->density((double const *)arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return resultobj;
fail:
{
if (is_new_object2 && array2)
{
Py_DECREF(array2);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_unitMap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
double *arg2 = (double *) 0 ;
unsigned int arg3 ;
double *arg4 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
void *argp4 = 0 ;
int res4 = 0 ;
PyObject *swig_obj[4] ;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_unitMap", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_unitMap" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "UnitMapInterpolationND_unitMap" "', argument " "2"" of type '" "double const *""'");
}
arg2 = reinterpret_cast< double * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "UnitMapInterpolationND_unitMap" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_double, 0 | 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "UnitMapInterpolationND_unitMap" "', argument " "4"" of type '" "double *""'");
}
arg4 = reinterpret_cast< double * >(argp4);
{
try {
((npstat::UnitMapInterpolationND const *)arg1)->unitMap((double const *)arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::UnitMapInterpolationND *arg1 = (npstat::UnitMapInterpolationND *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__UnitMapInterpolationND, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "UnitMapInterpolationND_classId" "', argument " "1"" of type '" "npstat::UnitMapInterpolationND const *""'");
}
arg1 = reinterpret_cast< npstat::UnitMapInterpolationND * >(argp1);
{
try {
result = ((npstat::UnitMapInterpolationND const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::UnitMapInterpolationND::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_UnitMapInterpolationND_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "UnitMapInterpolationND_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::UnitMapInterpolationND::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *UnitMapInterpolationND_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__UnitMapInterpolationND, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *UnitMapInterpolationND_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_LognormalTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = (npstat::LognormalTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LognormalTransform1D, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LognormalTransform1D" "', argument " "1"" of type '" "npstat::LognormalTransform1D *""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = (npstat::LognormalTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::LognormalTransform1D *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LognormalTransform1D_clone" "', argument " "1"" of type '" "npstat::LognormalTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
{
try {
result = (npstat::LognormalTransform1D *)((npstat::LognormalTransform1D const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LognormalTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_transformBack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = (npstat::LognormalTransform1D *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "LognormalTransform1D_transformBack", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LognormalTransform1D_transformBack" "', argument " "1"" of type '" "npstat::LognormalTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LognormalTransform1D_transformBack" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::LognormalTransform1D const *)arg1)->transformBack(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_isIncreasing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = (npstat::LognormalTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
bool result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LognormalTransform1D_isIncreasing" "', argument " "1"" of type '" "npstat::LognormalTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
{
try {
result = (bool)((npstat::LognormalTransform1D const *)arg1)->isIncreasing();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_classId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = (npstat::LognormalTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
SwigValueWrapper< gs::ClassId > result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LognormalTransform1D_classId" "', argument " "1"" of type '" "npstat::LognormalTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
{
try {
result = ((npstat::LognormalTransform1D const *)arg1)->classId();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ClassId(static_cast< const gs::ClassId& >(result))), SWIGTYPE_p_gs__ClassId, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = (npstat::LognormalTransform1D *) 0 ;
std::ostream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
bool result;
if (!SWIG_Python_UnpackTuple(args, "LognormalTransform1D_write", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LognormalTransform1D_write" "', argument " "1"" of type '" "npstat::LognormalTransform1D const *""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LognormalTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LognormalTransform1D_write" "', argument " "2"" of type '" "std::ostream &""'");
}
arg2 = reinterpret_cast< std::ostream * >(argp2);
{
try {
result = (bool)((npstat::LognormalTransform1D const *)arg1)->write(*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_bool(static_cast< bool >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_classname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
char *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LognormalTransform1D_classname", 0, 0, 0)) SWIG_fail;
{
try {
result = (char *)npstat::LognormalTransform1D::classname();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_FromCharPtr((const char *)result);
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int result;
if (!SWIG_Python_UnpackTuple(args, "LognormalTransform1D_version", 0, 0, 0)) SWIG_fail;
{
try {
result = (unsigned int)npstat::LognormalTransform1D::version();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_LognormalTransform1D_read(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ClassId *arg1 = 0 ;
std::istream *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LognormalTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "LognormalTransform1D_read", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__ClassId, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LognormalTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LognormalTransform1D_read" "', argument " "1"" of type '" "gs::ClassId const &""'");
}
arg1 = reinterpret_cast< gs::ClassId * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LognormalTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "LognormalTransform1D_read" "', argument " "2"" of type '" "std::istream &""'");
}
arg2 = reinterpret_cast< std::istream * >(argp2);
{
try {
result = (npstat::LognormalTransform1D *)npstat::LognormalTransform1D::read((gs::ClassId const &)*arg1,*arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LognormalTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *LognormalTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__LognormalTransform1D, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *_wrap_new_ArchiveRecord_LognormalTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
PyObject *swig_obj[3] ;
gs::ArchiveRecord< npstat::LognormalTransform1D > *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_ArchiveRecord_LognormalTransform1D", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ArchiveRecord_LognormalTransform1D" "', argument " "1"" of type '" "npstat::LognormalTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ArchiveRecord_LognormalTransform1D" "', argument " "1"" of type '" "npstat::LognormalTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ArchiveRecord_LognormalTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ArchiveRecord_LognormalTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::ArchiveRecord< npstat::LognormalTransform1D > *)new gs::ArchiveRecord< npstat::LognormalTransform1D >((npstat::LognormalTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LognormalTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_ArchiveRecord_LognormalTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::ArchiveRecord< npstat::LognormalTransform1D > *arg1 = (gs::ArchiveRecord< npstat::LognormalTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ArchiveRecordT_npstat__LognormalTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ArchiveRecord_LognormalTransform1D" "', argument " "1"" of type '" "gs::ArchiveRecord< npstat::LognormalTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::ArchiveRecord< npstat::LognormalTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *ArchiveRecord_LognormalTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ArchiveRecordT_npstat__LognormalTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *ArchiveRecord_LognormalTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_NPRecord__SWIG_126(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::LognormalTransform1D *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
SwigValueWrapper< gs::ArchiveRecord< npstat::LognormalTransform1D > > result;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0);
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LognormalTransform1D const &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NPRecord" "', argument " "1"" of type '" "npstat::LognormalTransform1D const &""'");
}
arg1 = reinterpret_cast< npstat::LognormalTransform1D * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NPRecord" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NPRecord" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = gs::SWIGTEMPLATEDISAMBIGUATOR Record< npstat::LognormalTransform1D >((npstat::LognormalTransform1D const &)*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new gs::ArchiveRecord< npstat::LognormalTransform1D >(static_cast< const gs::ArchiveRecord< npstat::LognormalTransform1D >& >(result))), SWIGTYPE_p_gs__ArchiveRecordT_npstat__LognormalTransform1D_t, SWIG_POINTER_OWN | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LognormalTransform1D__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
unsigned long long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long long val2 ;
int ecode2 = 0 ;
gs::Reference< npstat::LognormalTransform1D > *result = 0 ;
if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Ref_LognormalTransform1D" "', argument " "2"" of type '" "unsigned long long""'");
}
arg2 = static_cast< unsigned long long >(val2);
{
try {
result = (gs::Reference< npstat::LognormalTransform1D > *)new gs::Reference< npstat::LognormalTransform1D >(*arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LognormalTransform1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 ;
char *buf2 = 0 ;
int alloc2 = 0 ;
int res3 ;
char *buf3 = 0 ;
int alloc3 = 0 ;
gs::Reference< npstat::LognormalTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LognormalTransform1D" "', argument " "2"" of type '" "char const *""'");
}
arg2 = reinterpret_cast< char * >(buf2);
res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LognormalTransform1D" "', argument " "3"" of type '" "char const *""'");
}
arg3 = reinterpret_cast< char * >(buf3);
{
try {
result = (gs::Reference< npstat::LognormalTransform1D > *)new gs::Reference< npstat::LognormalTransform1D >(*arg1,(char const *)arg2,(char const *)arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, SWIG_POINTER_NEW | 0 );
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return resultobj;
fail:
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
if (alloc3 == SWIG_NEWOBJ) delete[] buf3;
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LognormalTransform1D__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
gs::AbsArchive *arg1 = 0 ;
gs::SearchSpecifier *arg2 = 0 ;
gs::SearchSpecifier *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
gs::Reference< npstat::LognormalTransform1D > *result = 0 ;
if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_gs__AbsArchive, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::AbsArchive &""'");
}
arg1 = reinterpret_cast< gs::AbsArchive * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Ref_LognormalTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LognormalTransform1D" "', argument " "2"" of type '" "gs::SearchSpecifier const &""'");
}
arg2 = reinterpret_cast< gs::SearchSpecifier * >(argp2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_gs__SearchSpecifier, 0 | 0);
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Ref_LognormalTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Ref_LognormalTransform1D" "', argument " "3"" of type '" "gs::SearchSpecifier const &""'");
}
arg3 = reinterpret_cast< gs::SearchSpecifier * >(argp3);
{
try {
result = (gs::Reference< npstat::LognormalTransform1D > *)new gs::Reference< npstat::LognormalTransform1D >(*arg1,(gs::SearchSpecifier const &)*arg2,(gs::SearchSpecifier const &)*arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, SWIG_POINTER_NEW | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_new_Ref_LognormalTransform1D(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[4] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "new_Ref_LognormalTransform1D", 0, 3, argv))) SWIG_fail;
--argc;
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_Ref_LognormalTransform1D__SWIG_0(self, argc, argv);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_gs__SearchSpecifier, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LognormalTransform1D__SWIG_2(self, argc, argv);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_gs__AbsArchive, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Ref_LognormalTransform1D__SWIG_1(self, argc, argv);
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Ref_LognormalTransform1D'.\n"
" Possible C/C++ prototypes are:\n"
" gs::Reference< npstat::LognormalTransform1D >::Reference(gs::AbsArchive &,unsigned long long const)\n"
" gs::Reference< npstat::LognormalTransform1D >::Reference(gs::AbsArchive &,char const *,char const *)\n"
" gs::Reference< npstat::LognormalTransform1D >::Reference(gs::AbsArchive &,gs::SearchSpecifier const &,gs::SearchSpecifier const &)\n");
return 0;
}
SWIGINTERN PyObject *_wrap_Ref_LognormalTransform1D_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LognormalTransform1D > *arg1 = (gs::Reference< npstat::LognormalTransform1D > *) 0 ;
unsigned long arg2 ;
npstat::LognormalTransform1D *arg3 = (npstat::LognormalTransform1D *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
void *argp3 = 0 ;
int res3 = 0 ;
PyObject *swig_obj[3] ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LognormalTransform1D_restore", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LognormalTransform1D_restore" "', argument " "1"" of type '" "gs::Reference< npstat::LognormalTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LognormalTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LognormalTransform1D_restore" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_npstat__LognormalTransform1D, 0 | 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Ref_LognormalTransform1D_restore" "', argument " "3"" of type '" "npstat::LognormalTransform1D *""'");
}
arg3 = reinterpret_cast< npstat::LognormalTransform1D * >(argp3);
{
try {
((gs::Reference< npstat::LognormalTransform1D > const *)arg1)->restore(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LognormalTransform1D_retrieve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LognormalTransform1D > *arg1 = (gs::Reference< npstat::LognormalTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
npstat::LognormalTransform1D *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "Ref_LognormalTransform1D_retrieve", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LognormalTransform1D_retrieve" "', argument " "1"" of type '" "gs::Reference< npstat::LognormalTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LognormalTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LognormalTransform1D_retrieve" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = (npstat::LognormalTransform1D *)gs_Reference_Sl_npstat_LognormalTransform1D_Sg__retrieve((gs::Reference< npstat::LognormalTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__LognormalTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_Ref_LognormalTransform1D_getValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LognormalTransform1D > *arg1 = (gs::Reference< npstat::LognormalTransform1D > *) 0 ;
unsigned long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
SwigValueWrapper< npstat::LognormalTransform1D > result;
if (!SWIG_Python_UnpackTuple(args, "Ref_LognormalTransform1D_getValue", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Ref_LognormalTransform1D_getValue" "', argument " "1"" of type '" "gs::Reference< npstat::LognormalTransform1D > const *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LognormalTransform1D > * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Ref_LognormalTransform1D_getValue" "', argument " "2"" of type '" "unsigned long""'");
}
arg2 = static_cast< unsigned long >(val2);
{
try {
result = gs_Reference_Sl_npstat_LognormalTransform1D_Sg__getValue((gs::Reference< npstat::LognormalTransform1D > const *)arg1,arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj((new npstat::LognormalTransform1D(static_cast< const npstat::LognormalTransform1D& >(result))), SWIGTYPE_p_npstat__LognormalTransform1D, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_Ref_LognormalTransform1D(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
gs::Reference< npstat::LognormalTransform1D > *arg1 = (gs::Reference< npstat::LognormalTransform1D > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Ref_LognormalTransform1D" "', argument " "1"" of type '" "gs::Reference< npstat::LognormalTransform1D > *""'");
}
arg1 = reinterpret_cast< gs::Reference< npstat::LognormalTransform1D > * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *Ref_LognormalTransform1D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_gs__ReferenceT_npstat__LognormalTransform1D_t, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *Ref_LognormalTransform1D_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_new_BernsteinCopulaSmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
unsigned int *arg1 = (unsigned int *) 0 ;
unsigned int arg2 ;
double arg3 ;
unsigned int arg4 ;
npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *arg5 = (npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc *) 0 ;
bool arg6 ;
npstat::Matrix< int > *arg7 = 0 ;
PyArrayObject *array1 = NULL ;
int is_new_object1 = 0 ;
double val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
void *argp5 = 0 ;
int res5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
PyObject *swig_obj[6] ;
npstat::BernsteinCopulaSmoother *result = 0 ;
if (!SWIG_Python_UnpackTuple(args, "new_BernsteinCopulaSmoother", 6, 6, swig_obj)) SWIG_fail;
{
npy_intp size[1] = {
-1
};
array1 = obj_to_array_contiguous_allow_conversion(swig_obj[0],
NPY_UINT,
&is_new_object1);
if (!array1 || !require_dimensions(array1, 1) ||
!require_size(array1, size, 1)) SWIG_fail;
arg1 = (unsigned int*) array_data(array1);
arg2 = (int) array_size(array1,0);
}
ecode3 = SWIG_AsVal_double(swig_obj[1], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BernsteinCopulaSmoother" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BernsteinCopulaSmoother" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
res5 = SWIG_ConvertPtr(swig_obj[3], &argp5,SWIGTYPE_p_npstat__AbsBandwidthCVNDT_double_npstat__ArrayNDT_double_1U_10U_t_t, 0 | 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "new_BernsteinCopulaSmoother" "', argument " "5"" of type '" "npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *""'");
}
arg5 = reinterpret_cast< npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc * >(argp5);
ecode6 = SWIG_AsVal_bool(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BernsteinCopulaSmoother" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
res7 = SWIG_ConvertPtr(swig_obj[5], &argp7, SWIGTYPE_p_npstat__MatrixT_int_16U_t, 0 | 0);
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BernsteinCopulaSmoother" "', argument " "7"" of type '" "npstat::Matrix< int > const &""'");
}
if (!argp7) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BernsteinCopulaSmoother" "', argument " "7"" of type '" "npstat::Matrix< int > const &""'");
}
arg7 = reinterpret_cast< npstat::Matrix< int > * >(argp7);
{
try {
result = (npstat::BernsteinCopulaSmoother *)new npstat::BernsteinCopulaSmoother((unsigned int const *)arg1,arg2,arg3,arg4,(npstat::CVCopulaSmoother< npstat::SequentialPolyFilterND >::CVCalc const *)arg5,arg6,(npstat::Matrix< int > const &)*arg7);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__BernsteinCopulaSmoother, SWIG_POINTER_NEW | 0 );
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return resultobj;
fail:
{
if (is_new_object1 && array1)
{
Py_DECREF(array1);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_delete_BernsteinCopulaSmoother(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::BernsteinCopulaSmoother *arg1 = (npstat::BernsteinCopulaSmoother *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__BernsteinCopulaSmoother, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BernsteinCopulaSmoother" "', argument " "1"" of type '" "npstat::BernsteinCopulaSmoother *""'");
}
arg1 = reinterpret_cast< npstat::BernsteinCopulaSmoother * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *BernsteinCopulaSmoother_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *obj;
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
SWIG_TypeNewClientData(SWIGTYPE_p_npstat__BernsteinCopulaSmoother, SWIG_NewClientData(obj));
return SWIG_Py_Void();
}
SWIGINTERN PyObject *BernsteinCopulaSmoother_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
return SWIG_Python_InitShadowInstance(args);
}
SWIGINTERN PyObject *_wrap_delete_AbsKDE1DKernel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AbsKDE1DKernel" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
{
try {
delete arg1;
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_setNormFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
if (!SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_setNormFactor", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_setNormFactor" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_setNormFactor" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
(arg1)->setNormFactor(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_xmin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_xmin" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->xmin();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_xmax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_xmax" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->xmax();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_normFactor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
double result;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_normFactor" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->normFactor();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel___call__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel___call__", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel___call__" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel___call__" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->operator ()(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
npstat::AbsKDE1DKernel *result = 0 ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_clone" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
{
try {
result = (npstat::AbsKDE1DKernel *)((npstat::AbsKDE1DKernel const *)arg1)->clone();
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_npstat__AbsKDE1DKernel, SWIG_POINTER_OWN | 0 );
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_momentIntegral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
unsigned int arg2 ;
unsigned int arg3 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
PyObject *swig_obj[3] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_momentIntegral", 3, 3, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_momentIntegral" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_momentIntegral" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_momentIntegral" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->momentIntegral(arg2,arg3);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_squaredIntegral(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
unsigned int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned int val2 ;
int ecode2 = 0 ;
PyObject *swig_obj[2] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_squaredIntegral", 2, 2, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_squaredIntegral" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_squaredIntegral" "', argument " "2"" of type '" "unsigned int""'");
}
arg2 = static_cast< unsigned int >(val2);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->squaredIntegral(arg2);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_looKde(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
unsigned long arg3 ;
double arg4 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
unsigned long val3 ;
int ecode3 = 0 ;
double val4 ;
int ecode4 = 0 ;
PyObject *swig_obj[4] ;
double result;
if (!SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_looKde", 4, 4, swig_obj)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_looKde" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_looKde" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_unsigned_SS_long(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_looKde" "', argument " "3"" of type '" "unsigned long""'");
}
arg3 = static_cast< unsigned long >(val3);
ecode4 = SWIG_AsVal_double(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsKDE1DKernel_looKde" "', argument " "4"" of type '" "double""'");
}
arg4 = static_cast< double >(val4);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->looKde(arg2,arg3,arg4);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_kde__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
bool val6 ;
int ecode6 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_kde" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_kde" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_kde" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
ecode6 = SWIG_AsVal_bool(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsKDE1DKernel_kde" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->kde2(arg2,arg3,(double const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_kde__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_kde" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_kde" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_kde" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->kde2(arg2,arg3,(double const *)arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_kde(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_kde", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsKDE1DKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
if (argc <= 4) {
return _wrap_AbsKDE1DKernel_kde__SWIG_1(self, argc, argv);
}
return _wrap_AbsKDE1DKernel_kde__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsKDE1DKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsKDE1DKernel_kde__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsKDE1DKernel_kde'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsKDE1DKernel::kde2(double,double,double const *,unsigned int,bool) const\n"
" npstat::AbsKDE1DKernel::kde2(double,double,double const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_reverseKde__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
bool arg6 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
bool val6 ;
int ecode6 = 0 ;
double result;
if ((nobjs < 5) || (nobjs > 5)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
ecode6 = SWIG_AsVal_bool(swig_obj[4], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->reverseKde2(arg2,arg3,(double const *)arg4,arg5,arg6);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_reverseKde__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
double arg2 ;
double arg3 ;
double *arg4 = (double *) 0 ;
unsigned int arg5 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
double val3 ;
int ecode3 = 0 ;
PyArrayObject *array4 = NULL ;
int is_new_object4 = 0 ;
double result;
if ((nobjs < 4) || (nobjs > 4)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
ecode2 = SWIG_AsVal_double(swig_obj[1], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "2"" of type '" "double""'");
}
arg2 = static_cast< double >(val2);
ecode3 = SWIG_AsVal_double(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_reverseKde" "', argument " "3"" of type '" "double""'");
}
arg3 = static_cast< double >(val3);
{
npy_intp size[1] = {
-1
};
array4 = obj_to_array_contiguous_allow_conversion(swig_obj[3],
NPY_DOUBLE,
&is_new_object4);
if (!array4 || !require_dimensions(array4, 1) ||
!require_size(array4, size, 1)) SWIG_fail;
arg4 = (double*) array_data(array4);
arg5 = (int) array_size(array4,0);
}
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->reverseKde2(arg2,arg3,(double const *)arg4,arg5);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return resultobj;
fail:
{
if (is_new_object4 && array4)
{
Py_DECREF(array4);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_reverseKde(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[6] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_reverseKde", 0, 5, argv))) SWIG_fail;
--argc;
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsKDE1DKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
if (argc <= 4) {
return _wrap_AbsKDE1DKernel_reverseKde__SWIG_1(self, argc, argv);
}
return _wrap_AbsKDE1DKernel_reverseKde__SWIG_1(self, argc, argv);
}
}
}
}
}
if (argc == 5) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsKDE1DKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
_v = is_array(argv[3]) || PySequence_Check(argv[3]);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_AbsKDE1DKernel_reverseKde__SWIG_0(self, argc, argv);
}
}
}
}
}
}
fail:
SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'AbsKDE1DKernel_reverseKde'.\n"
" Possible C/C++ prototypes are:\n"
" npstat::AbsKDE1DKernel::reverseKde2(double,double,double const *,unsigned int,bool) const\n"
" npstat::AbsKDE1DKernel::reverseKde2(double,double,double const *,unsigned int) const\n");
return 0;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_integratedSquaredError__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
double arg5 ;
bool arg6 ;
double *arg7 = (double *) 0 ;
unsigned int arg8 ;
bool arg9 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
PyArrayObject *array7 = NULL ;
int is_new_object7 = 0 ;
bool val9 ;
int ecode9 = 0 ;
double result;
if ((nobjs < 8) || (nobjs > 8)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(swig_obj[6],
NPY_DOUBLE,
&is_new_object7);
if (!array7 || !require_dimensions(array7, 1) ||
!require_size(array7, size, 1)) SWIG_fail;
arg7 = (double*) array_data(array7);
arg8 = (int) array_size(array7,0);
}
ecode9 = SWIG_AsVal_bool(swig_obj[7], &val9);
if (!SWIG_IsOK(ecode9)) {
SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "9"" of type '" "bool""'");
}
arg9 = static_cast< bool >(val9);
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->integratedSquaredError2((npstat::AbsDistribution1D const &)*arg2,arg3,arg4,arg5,arg6,(double const *)arg7,arg8,arg9);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object7 && array7)
{
Py_DECREF(array7);
}
}
return resultobj;
fail:
{
if (is_new_object7 && array7)
{
Py_DECREF(array7);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_integratedSquaredError__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) {
PyObject *resultobj = 0;
npstat::AbsKDE1DKernel *arg1 = (npstat::AbsKDE1DKernel *) 0 ;
npstat::AbsDistribution1D *arg2 = 0 ;
unsigned int arg3 ;
unsigned int arg4 ;
double arg5 ;
bool arg6 ;
double *arg7 = (double *) 0 ;
unsigned int arg8 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
unsigned int val3 ;
int ecode3 = 0 ;
unsigned int val4 ;
int ecode4 = 0 ;
double val5 ;
int ecode5 = 0 ;
bool val6 ;
int ecode6 = 0 ;
PyArrayObject *array7 = NULL ;
int is_new_object7 = 0 ;
double result;
if ((nobjs < 7) || (nobjs > 7)) SWIG_fail;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_npstat__AbsKDE1DKernel, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "1"" of type '" "npstat::AbsKDE1DKernel const *""'");
}
arg1 = reinterpret_cast< npstat::AbsKDE1DKernel * >(argp1);
res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_npstat__AbsDistribution1D, 0 | 0);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "2"" of type '" "npstat::AbsDistribution1D const &""'");
}
arg2 = reinterpret_cast< npstat::AbsDistribution1D * >(argp2);
ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3);
if (!SWIG_IsOK(ecode3)) {
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "3"" of type '" "unsigned int""'");
}
arg3 = static_cast< unsigned int >(val3);
ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4);
if (!SWIG_IsOK(ecode4)) {
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "4"" of type '" "unsigned int""'");
}
arg4 = static_cast< unsigned int >(val4);
ecode5 = SWIG_AsVal_double(swig_obj[4], &val5);
if (!SWIG_IsOK(ecode5)) {
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "5"" of type '" "double""'");
}
arg5 = static_cast< double >(val5);
ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AbsKDE1DKernel_integratedSquaredError" "', argument " "6"" of type '" "bool""'");
}
arg6 = static_cast< bool >(val6);
{
npy_intp size[1] = {
-1
};
array7 = obj_to_array_contiguous_allow_conversion(swig_obj[6],
NPY_DOUBLE,
&is_new_object7);
if (!array7 || !require_dimensions(array7, 1) ||
!require_size(array7, size, 1)) SWIG_fail;
arg7 = (double*) array_data(array7);
arg8 = (int) array_size(array7,0);
}
{
try {
result = (double)((npstat::AbsKDE1DKernel const *)arg1)->integratedSquaredError2((npstat::AbsDistribution1D const &)*arg2,arg3,arg4,arg5,arg6,(double const *)arg7,arg8);
} catch (const std::exception& e) {
SWIG_exception(SWIG_RuntimeError, e.what());
}
}
resultobj = SWIG_From_double(static_cast< double >(result));
{
if (is_new_object7 && array7)
{
Py_DECREF(array7);
}
}
return resultobj;
fail:
{
if (is_new_object7 && array7)
{
Py_DECREF(array7);
}
}
return NULL;
}
SWIGINTERN PyObject *_wrap_AbsKDE1DKernel_integratedSquaredError(PyObject *self, PyObject *args) {
Py_ssize_t argc;
PyObject *argv[9] = {
0
};
if (!(argc = SWIG_Python_UnpackTuple(args, "AbsKDE1DKernel_integratedSquaredError", 0, 8, argv))) SWIG_fail;
--argc;
if (argc == 7) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_npstat__AbsKDE1DKernel, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_npstat__AbsDistribution1D, SWIG_POINTER_NO_NULL | 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[4], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[5], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
Index: trunk/npstat/stat/make_UnbinnedGOFTest1D.cc
===================================================================
--- trunk/npstat/stat/make_UnbinnedGOFTest1D.cc (revision 859)
+++ trunk/npstat/stat/make_UnbinnedGOFTest1D.cc (revision 860)
@@ -1,138 +1,136 @@
#include <sstream>
#include <stdexcept>
#include "npstat/nm/ClassicalOrthoPolys1D.hh"
#include "npstat/nm/ScalableClassicalOrthoPoly1D.hh"
#include "npstat/stat/Distributions1D.hh"
#include "npstat/stat/DensityOrthoPoly1D.hh"
#include "npstat/stat/UnbinnedGOFTest1DFactory.hh"
#include "npstat/stat/SmoothGOFTest1D.hh"
#include "npstat/stat/SmoothCDGOFTest1D.hh"
#include "npstat/stat/SineGOFTest1D.hh"
#include "npstat/stat/make_UnbinnedGOFTest1D.hh"
template <class Map>
static void printMapKeys(const Map& m, std::ostream& os)
{
unsigned cnt = 0;
const typename Map::const_iterator end = m.end();
for (typename Map::const_iterator it = m.begin(); it != end; ++it, ++cnt)
{
if (cnt)
os << ", ";
os << '"' << it->first << '"';
}
}
namespace npstat {
CPP11_auto_ptr<AbsUnbinnedGOFTest1D> make_UnbinnedGOFTest1D(
const std::string& classname, const AbsDistribution1D& nullD,
const unsigned maxDegree, const std::vector<unsigned char>& degreeMask)
{
const unsigned dMaskSz = degreeMask.size();
if (classname == "SmoothGOFTest1D")
{
const Gauss1D* g_d = dynamic_cast<const Gauss1D*>(&nullD);
if (g_d)
{
HermiteProbOrthoPoly1D gaussPoly;
ScalableClassicalOrthoPoly1D scaledPoly(gaussPoly, g_d->location(), g_d->scale());
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
new SmoothGOFTest1D<ScalableClassicalOrthoPoly1D>(
nullD, scaledPoly, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
const Beta1D* beta_d = dynamic_cast<const Beta1D*>(&nullD);
if (beta_d)
{
JacobiOrthoPoly1D jac(beta_d->beta()-1, beta_d->alpha()-1);
const double s = beta_d->scale()/2.0;
ScalableClassicalOrthoPoly1D scaledPoly(jac, beta_d->location() + s, s);
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
new SmoothGOFTest1D<ScalableClassicalOrthoPoly1D>(
nullD, scaledPoly, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
const SymmetricBeta1D* sb_d = dynamic_cast<const SymmetricBeta1D*>(&nullD);
if (sb_d)
{
const double p = sb_d->power();
JacobiOrthoPoly1D jac(p, p);
ScalableClassicalOrthoPoly1D scaledPoly(jac, sb_d->location(), sb_d->scale());
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
new SmoothGOFTest1D<ScalableClassicalOrthoPoly1D>(
nullD, scaledPoly, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
const Uniform1D* u_d = dynamic_cast<const Uniform1D*>(&nullD);
if (u_d)
{
ShiftedLegendreOrthoPoly1D shL;
ScalableClassicalOrthoPoly1D scaledPoly(shL, u_d->location(), u_d->scale());
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
new SmoothGOFTest1D<ScalableClassicalOrthoPoly1D>(
nullD, scaledPoly, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
const double unbounded = 1.0e10;
if (nullD.quantile(0.0) < -unbounded || nullD.quantile(1.0) > unbounded)
{
throw std::invalid_argument("In npstat::make_UnbinnedGOFTest1D: "
"the SmoothGOFTest1D GoF test is not implemented "
"for densities with unbounded support");
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>();
}
// A somewhat arbitrary choice
const unsigned nIntegPoints = 2*maxDegree + 1 + 1024;
DensityOrthoPoly1D poly(nullD, maxDegree, nIntegPoints);
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
new SmoothGOFTest1D<DensityOrthoPoly1D>(
nullD, poly, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
else if (classname == "SineGOFTest1D")
{
- // A somewhat arbitrary choice
- const unsigned nIntegPoints = maxDegree*64;
-
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
- new SineGOFTest1D(nullD, maxDegree, nIntegPoints,
+ new SineGOFTest1D(nullD, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
else if (classname == "SmoothCDGOFTest1D")
{
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
new SmoothCDGOFTest1D(nullD, maxDegree,
dMaskSz ? &degreeMask[0] : (unsigned char*)0, dMaskSz));
}
else
{
DefaultUnbinnedGOFTest1DFactory defaultFactory;
if (defaultFactory.contains(classname))
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>(
defaultFactory[classname]->create(nullD));
else
{
std::ostringstream os;
os << "In npstat::make_UnbinnedGOFTest1D: "
<< "invalid 1-d GoF test class name \"" << classname
<< "\". Valid 1-d GoF test class names are: ";
printMapKeys(defaultFactory, os);
os << ", \"SmoothGOFTest1D\""
<< ", \"SmoothCDGOFTest1D\""
+ << ", \"CosineGOFTest1D\""
<< ", and \"SineGOFTest1D\".";
throw std::invalid_argument(os.str());
return CPP11_auto_ptr<AbsUnbinnedGOFTest1D>();
}
}
}
}
Index: trunk/npstat/stat/SineGOFTest1D.icc
===================================================================
--- trunk/npstat/stat/SineGOFTest1D.icc (revision 859)
+++ trunk/npstat/stat/SineGOFTest1D.icc (revision 860)
@@ -1,36 +1,32 @@
#include <cmath>
#include <cassert>
namespace npstat {
template<typename Numeric>
- unsigned SineGOFTest1D::normalizedDeviationsSorted(
+ unsigned SineGOFTest1D::normalizedDeviationsHelper(
const Numeric* data, const unsigned long lenData,
double* deviations) const
{
- static const double oneOverPiSquared = 0.10132118364233777;
+ static const double sqr2 = 1.414213562373095049;
+ assert(lenData);
+ assert(data);
assert(deviations);
- const double dsz = lenData;
- unsigned greaterIndex = 0;
- for (unsigned icdf=0; icdf<nPt_; ++icdf)
+ std::vector<long double> sums(maxdeg_ + 1U, 0.0L);
+ for (unsigned long i=0; i<lenData; ++i)
{
- const double x = quantiles_[icdf];
- while (greaterIndex < lenData &&
- static_cast<double>(data[greaterIndex]) <= x)
- ++greaterIndex;
- cdfValues_[icdf] = greaterIndex/dsz - points_[icdf];
+ const double y = distro_->cdf(data[i]);
+ for (unsigned k=1; k<=maxdeg_; ++k)
+ sums[k] += std::cos(k*M_PI*y);
}
- sineM_.timesVector(&cdfValues_[0], cdfValues_.size(),
- &sineValues_[0], sineValues_.size());
-
- const double sigma1 = sqrt(oneOverPiSquared/lenData);
- unsigned idev = 0;
- for (unsigned isin=0; isin<maxdeg_; ++isin)
- if (!mask_[isin])
- deviations[idev++] = sineValues_[isin]/sigma1*(isin+1U);
+ const double sqrlen = std::sqrt(static_cast<double>(lenData));
+ unsigned idev=0;
+ for (unsigned i=1U; i<=maxdeg_; ++i)
+ if (!mask_[i - 1U])
+ deviations[idev++] = sums[i]*sqr2/sqrlen;
assert(idev == nUnmasked_);
return nUnmasked_;
}
}
Index: trunk/npstat/stat/SineGOFTest1D.cc
===================================================================
--- trunk/npstat/stat/SineGOFTest1D.cc (revision 859)
+++ trunk/npstat/stat/SineGOFTest1D.cc (revision 860)
@@ -1,79 +1,21 @@
-#include <sstream>
-#include <algorithm>
-#include <stdexcept>
-
-#include "npstat/nm/sineTransformMatrix.hh"
-
#include "npstat/stat/SineGOFTest1D.hh"
-#include "npstat/stat/Distributions1D.hh"
namespace npstat {
- SineGOFTest1D::SineGOFTest1D(
- const AbsDistribution1D& nullDistro,
- const unsigned nSineTerms, const unsigned nDiscretizationPoints,
- const unsigned char* mask, const unsigned lenMask)
- : AbsSmoothGOFTest1D(nullDistro, nSineTerms, mask, lenMask),
- nPt_(nDiscretizationPoints),
- sineM_(sineTransformMatrix(nSineTerms, nDiscretizationPoints)),
- points_(0.0, 1.0, nDiscretizationPoints),
- quantiles_(nDiscretizationPoints),
- cdfValues_(nDiscretizationPoints),
- sineValues_(nSineTerms)
- {
- for (unsigned icdf=0; icdf<nPt_; ++icdf)
- quantiles_[icdf] = distro_->quantile(points_[icdf]);
- }
-
- SineGOFTest1D::SineGOFTest1D(const AbsDistribution1D& nullDistro,
- const unsigned nDiscretizationPoints,
- const std::vector<int>& mask)
- : AbsSmoothGOFTest1D(nullDistro, mask),
- nPt_(nDiscretizationPoints),
- sineM_(sineTransformMatrix(mask.size(), nDiscretizationPoints)),
- points_(0.0, 1.0, nDiscretizationPoints),
- quantiles_(nDiscretizationPoints),
- cdfValues_(nDiscretizationPoints),
- sineValues_(mask.size())
- {
- for (unsigned icdf=0; icdf<nPt_; ++icdf)
- quantiles_[icdf] = distro_->quantile(points_[icdf]);
- }
-
unsigned SineGOFTest1D::normalizedDeviations(
- const double* data, const unsigned long lenData,
- const bool dataIsSorted,
+ const double* data, const unsigned long sz,
+ bool /* isDataSorted */,
double* deviations, const unsigned lenDeviations) const
{
- assert(lenData);
- assert(data);
assert(lenDeviations >= nUnmasked_);
-
- if (dataIsSorted)
- return normalizedDeviationsSorted(data, lenData, deviations);
- else
- {
- std::vector<double> tmp(data, data+lenData);
- std::sort(tmp.begin(), tmp.end());
- return normalizedDeviationsSorted(&tmp[0], lenData, deviations);
- }
+ return normalizedDeviationsHelper(data, sz, deviations);
}
unsigned SineGOFTest1D::normalizedDeviations(
- const float* data, const unsigned long lenData,
- const bool dataIsSorted,
+ const float* data, const unsigned long sz,
+ bool /* isDataSorted */,
double* deviations, const unsigned lenDeviations) const
{
- assert(lenData);
- assert(data);
assert(lenDeviations >= nUnmasked_);
-
- if (dataIsSorted)
- return normalizedDeviationsSorted(data, lenData, deviations);
- else
- {
- std::vector<float> tmp(data, data+lenData);
- std::sort(tmp.begin(), tmp.end());
- return normalizedDeviationsSorted(&tmp[0], lenData, deviations);
- }
+ return normalizedDeviationsHelper(data, sz, deviations);
}
}
Index: trunk/npstat/stat/SmoothCDGOFTest1D.hh
===================================================================
--- trunk/npstat/stat/SmoothCDGOFTest1D.hh (revision 859)
+++ trunk/npstat/stat/SmoothCDGOFTest1D.hh (revision 860)
@@ -1,63 +1,63 @@
#ifndef NPSTAT_SMOOTHCDGOFTEST1D_HH_
#define NPSTAT_SMOOTHCDGOFTEST1D_HH_
/*!
// \file SmoothCDGOFTest1D.hh
//
-// \brief Smooth test for goodness-of-fit that utilizes the empirical
-// comparison density
+// \brief Smooth test for goodness-of-fit based on the Legendre polynomial
+// expansion of the empirical comparison density
//
// Author: I. Volobouev
//
// October 2022
*/
#include "npstat/nm/ClassicalOrthoPolys1D.hh"
#include "npstat/stat/AbsSmoothGOFTest1D.hh"
namespace npstat {
class SmoothCDGOFTest1D : public AbsSmoothGOFTest1D
{
public:
// The mask, if provided, should contain "maxdeg" elements.
// Put some number in the mask in order to discard the
// corresponding eigenvector and put 0 there to keep it.
// mask[0] specifies whether to use polynomial of degree 1, etc.
inline SmoothCDGOFTest1D(const AbsDistribution1D& distro,
const unsigned maxdeg,
const unsigned char* mask=0,
const unsigned lenMask=0)
: AbsSmoothGOFTest1D(distro, maxdeg, mask, lenMask) {}
inline SmoothCDGOFTest1D(const AbsDistribution1D& distro,
const std::vector<int>& mask)
: AbsSmoothGOFTest1D(distro, mask) {}
inline virtual ~SmoothCDGOFTest1D() {}
inline virtual std::string shortName() const
{return testNameWithMask("SCD");}
virtual unsigned normalizedDeviations(
const double* data, unsigned long sz,
bool isDataSorted,
double* deviations, unsigned lenDeviations) const;
virtual unsigned normalizedDeviations(
const float* data, unsigned long sz,
bool isDataSorted,
double* deviations, unsigned lenDeviations) const;
private:
template<typename Numeric>
unsigned normalizedDeviationsHelper(
const Numeric* data, unsigned long lenData,
double* deviations) const;
ShiftedLegendreOrthoPoly1D poly_;
};
}
#include "npstat/stat/SmoothCDGOFTest1D.icc"
#endif // NPSTAT_SMOOTHCDGOFTEST1D_HH_
Index: trunk/npstat/stat/SineGOFTest1D.hh
===================================================================
--- trunk/npstat/stat/SineGOFTest1D.hh (revision 859)
+++ trunk/npstat/stat/SineGOFTest1D.hh (revision 860)
@@ -1,70 +1,66 @@
#ifndef NPSTAT_SINEGOFTEST1D_HH_
#define NPSTAT_SINEGOFTEST1D_HH_
/*!
// \file SineGOFTest1D.hh
//
// \brief Goodness-of-fit test based on the sine expansion of the
// difference between the empirical cdf and the cdf of the null
//
+// Note that the sine expansion of this difference is equivalent to
+// the cosine expansion of the empirical comparison density
+//
// Author: I. Volobouev
//
-// October 2022
+// November 2022
*/
-#include "npstat/nm/Matrix.hh"
-#include "npstat/nm/EquidistantSequence.hh"
-
+#include "npstat/nm/ClassicalOrthoPolys1D.hh"
#include "npstat/stat/AbsSmoothGOFTest1D.hh"
namespace npstat {
class SineGOFTest1D : public AbsSmoothGOFTest1D
{
public:
// The mask, if provided, should contain nSineTerms elements.
// Put some number in the mask in order to discard the
// corresponding eigenvector and put 0 there to keep it.
// The sine terms (sin(Pi n x)) numbering in the mask
// is shifted: n = 1 corresponds to mask[0], n = 2 corresponds
// to mask[1], etc.
- SineGOFTest1D(const AbsDistribution1D& nullDistro,
- unsigned nSineTerms, unsigned nDiscretizationPoints,
- const unsigned char* mask=0, unsigned lenMask=0);
-
- SineGOFTest1D(const AbsDistribution1D& nullDistro,
- unsigned nDiscretizationPoints,
- const std::vector<int>& mask);
+ inline SineGOFTest1D(const AbsDistribution1D& distro,
+ const unsigned nSineTerms,
+ const unsigned char* mask=0,
+ const unsigned lenMask=0)
+ : AbsSmoothGOFTest1D(distro, nSineTerms, mask, lenMask) {}
+
+ inline SineGOFTest1D(const AbsDistribution1D& distro,
+ const std::vector<int>& mask)
+ : AbsSmoothGOFTest1D(distro, mask) {}
inline virtual ~SineGOFTest1D() {}
inline virtual std::string shortName() const
{return testNameWithMask("Sine");}
virtual unsigned normalizedDeviations(
const double* data, unsigned long sz,
bool isDataSorted,
double* deviations, unsigned lenDeviations) const;
virtual unsigned normalizedDeviations(
const float* data, unsigned long sz,
bool isDataSorted,
double* deviations, unsigned lenDeviations) const;
private:
template<typename Numeric>
- unsigned normalizedDeviationsSorted(
+ unsigned normalizedDeviationsHelper(
const Numeric* data, unsigned long lenData,
double* deviations) const;
-
- unsigned nPt_;
- Matrix<double> sineM_;
- EquidistantBinCenters points_;
- std::vector<double> quantiles_;
- mutable std::vector<double> cdfValues_;
- mutable std::vector<double> sineValues_;
};
}
#include "npstat/stat/SineGOFTest1D.icc"
#endif // NPSTAT_SINEGOFTEST1D_HH_
Index: trunk/npstat/stat/SmoothCDGOFTest1D.icc
===================================================================
--- trunk/npstat/stat/SmoothCDGOFTest1D.icc (revision 859)
+++ trunk/npstat/stat/SmoothCDGOFTest1D.icc (revision 860)
@@ -1,34 +1,34 @@
#include <cmath>
#include <cassert>
namespace npstat {
template<typename Numeric>
unsigned SmoothCDGOFTest1D::normalizedDeviationsHelper(
const Numeric* data, const unsigned long lenData,
double* deviations) const
{
assert(lenData);
assert(data);
assert(deviations);
std::vector<long double> membuf(2U*(maxdeg_ + 1U), 0.0L);
long double* poly = &membuf[0];
long double* sums = poly + (maxdeg_ + 1U);
for (unsigned long i=0; i<lenData; ++i)
{
const double y = distro_->cdf(data[i]);
poly_.allpoly(y, poly, maxdeg_);
for (unsigned k=1; k<=maxdeg_; ++k)
sums[k] += poly[k];
}
- const double sqrlen = sqrt(static_cast<double>(lenData));
+ const double sqrlen = std::sqrt(static_cast<double>(lenData));
unsigned idev=0;
for (unsigned i=1U; i<=maxdeg_; ++i)
if (!mask_[i - 1U])
deviations[idev++] = sums[i]/sqrlen;
assert(idev == nUnmasked_);
return nUnmasked_;
}
}

File Metadata

Mime Type
application/octet-stream
Expires
Tue, Apr 30, 10:05 AM (1 d, 23 h)
Storage Engine
chunks
Storage Format
Chunks
Storage Handle
OoT_DWl1laW0
Default Alt Text
(5 MB)

Event Timeline